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
..
2023-04-30 18:16:04 -07:00
2023-05-29 22:08:43 +03:00
2023-06-02 20:08:28 +02:00
2023-05-23 17:55:59 -07:00
2022-12-13 13:14:20 +02:00
2023-04-30 18:16:04 -07:00
2023-04-22 13:09:15 +03:00
2023-05-23 17:55:59 -07:00
2023-04-30 18:16:04 -07:00
2023-04-30 18:16:04 -07:00
2023-04-30 18:16:04 -07:00
2023-05-23 17:55:59 -07:00
2023-04-30 18:16:04 -07:00
2023-04-30 18:16:04 -07:00
2023-04-23 21:06:21 +03:00
2023-04-23 21:06:21 +03:00
2023-05-23 17:55:59 -07:00
2023-03-17 17:50:25 +01:00
2023-04-28 13:24:43 -07:00
2023-05-26 21:42:19 -07:00
2023-04-30 18:16:04 -07:00