mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 15:19:07 +00:00
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. |
||
|---|---|---|
| .. | ||
| arena_allocator.zig | ||
| general_purpose_allocator.zig | ||
| log_to_writer_allocator.zig | ||
| logging_allocator.zig | ||
| memory_pool.zig | ||
| PageAllocator.zig | ||
| ThreadSafeAllocator.zig | ||
| WasmAllocator.zig | ||
| WasmPageAllocator.zig | ||