zig/lib/std/heap
Erik Arvstedt 41430a366f arena_allocator/reset: fix buffer overrun
Previously, the buffer reserved with `retain_with_limit` was missing
space for the `BufNode`.

When the user-provided a limit that was smaller than `@sizeOf(BufNode)`,
`reset` would store a new `BufNode` in an allocation smaller than
`BufNode`, leading to a buffer overrun.
2023-06-13 09:46:16 +02:00
..
arena_allocator.zig arena_allocator/reset: fix buffer overrun 2023-06-13 09:46:16 +02:00
general_purpose_allocator.zig std: fix a bunch of typos 2023-04-30 18:16:04 -07:00
log_to_writer_allocator.zig std.mem.Allocator: allow shrink to fail 2022-11-29 23:30:38 -07:00
logging_allocator.zig std.mem.Allocator: allow shrink to fail 2022-11-29 23:30:38 -07:00
memory_pool.zig std: fix a bunch of typos 2023-04-30 18:16:04 -07:00
PageAllocator.zig std.heap: extract PageAllocator, WasmPageAllocator 2022-11-29 23:46:02 -07:00
ThreadSafeAllocator.zig add std.heap.ThreadSafeAllocator 2023-03-15 10:48:12 -07:00
WasmAllocator.zig update codebase to use @memset and @memcpy 2023-04-28 13:24:43 -07:00
WasmPageAllocator.zig update codebase to use @memset and @memcpy 2023-04-28 13:24:43 -07:00