summaryrefslogtreecommitdiffhomepage
path: root/bench/probes/git@git.abendless.com:/srv
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-28 00:44:42 -0600
committerSean Kurtz <seankurtz75@gmail.com>2026-11-28 00:44:42 -0600
commit06e1dd50e4c2e93150b4e14ee2cbed566900cd3a (patch)
tree978732f3df500cc16a59e4890717db1d28662081 /bench/probes/git@git.abendless.com:/srv
parent95bf87d4ed037e6d6786cc395d94dbe44ee88e32 (diff)
downloadzash-06e1dd50e4c2e93150b4e14ee2cbed566900cd3a.tar.gz
fix(util): refuse an arena size that would overflow
arena_alloc() aligned the size and arena_add_chunk() added sizeof (arena_chunk) to it before malloc(), so a size near SIZE_MAX wrapped and handed back a short block. Both now go through out_of_memory() above SIZE_MAX / 2, the same way xmalloc() treats a failed malloc.
Diffstat (limited to 'bench/probes/git@git.abendless.com:/srv')
0 files changed, 0 insertions, 0 deletions