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-06-03 13:51:02 -07:00
2023-05-29 22:08:43 +03:00
2023-05-23 17:55:59 -07:00
2023-06-06 09:08:57 +02:00
2023-05-25 20:17:07 +01:00
2023-06-01 00:02:16 +03:00
2023-06-03 13:51:02 -07:00
2023-06-02 20:08:28 +02:00
2023-06-13 09:46:16 +02:00
2023-06-03 13:51:02 -07:00
2023-06-03 13:38:23 -07:00
2023-05-13 14:31:53 -04:00
2023-06-01 00:02:16 +03:00
2023-05-30 13:22:13 +02:00
2023-05-22 20:33:35 +02:00
2023-05-23 17:55:59 -07:00
2023-05-20 12:27:48 -07:00
2023-06-03 13:51:02 -07:00
2023-06-03 13:51:02 -07:00
2023-06-03 13:51:02 -07:00
2023-06-03 13:45:52 -07:00
2023-06-03 13:51:02 -07:00
2023-05-23 17:55:59 -07:00
2023-05-22 16:11:06 +02:00
2023-05-29 16:29:19 -07:00
2023-05-29 11:28:39 -07:00
2023-05-23 17:55:59 -07:00
2023-06-01 00:02:16 +03:00
2023-06-03 13:51:02 -07:00
2023-05-29 23:06:08 +01:00
2023-05-24 10:15:02 +01:00
2023-05-13 14:31:53 -04:00
2023-05-29 13:01:54 +03:00
2023-06-03 13:51:02 -07:00
2023-05-23 17:55:59 -07:00
2023-05-29 23:06:08 +01:00
2023-06-03 13:51:02 -07:00
2023-06-03 13:51:02 -07:00
2023-05-13 13:45:05 -07:00
2023-05-13 13:45:05 -07:00
2023-05-23 17:55:59 -07:00
2023-05-26 21:42:19 -07:00
2023-05-29 23:06:08 +01:00
2023-05-25 14:32:17 -05:00