diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-10-13 05:45:41 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-10-13 05:45:41 +0200 |
commit | 15a94e6668a6d7c5697e805d8d67f1d102d0d52e (patch) | |
tree | bd703f55d1e50d62cfa2572685a194f8eab81a4d /htl/forward.c | |
parent | ba0ca36132d72d88f577062520b479b4b97df114 (diff) | |
download | glibc-15a94e6668a6d7c5697e805d8d67f1d102d0d52e.tar.gz glibc-15a94e6668a6d7c5697e805d8d67f1d102d0d52e.tar.xz glibc-15a94e6668a6d7c5697e805d8d67f1d102d0d52e.zip |
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>
Diffstat (limited to 'htl/forward.c')
0 files changed, 0 insertions, 0 deletions