1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-15 17:05:51 +03:00
Files
glibc/malloc/malloc.c
Florian Weimer 15a94e6668 malloc: Switch global_max_fast to uint8_t
MAX_FAST_SIZE is 160 at most, so a uint8_t is sufficient.  This makes
it harder to use memory corruption, by overwriting global_max_fast
with a large value, to fundamentally alter malloc behavior.

Reviewed-by: DJ Delorie <dj@redhat.com>
2022-10-13 05:45:41 +02:00

188 KiB