feat: multi-user system, bug fixes, security & performance fixes, and more

This commit is contained in:
daniel committed 2026-03-14 13:28:46 +01:00
1 parent 9f54e4957d
commit 39b0424085
389 files changed
+231853 -591

No files matched your search

+4
View File
@@ -151,6 +151,10 @@ namespace heap_detail {
g_initialized = true;
}
// Guard against overflow: size + Header must not wrap
if (size > UINT64_MAX - sizeof(Header) - 15)
return nullptr;
uint64_t needed = size + sizeof(Header);
needed = (needed + 15) & ~15ULL;