]> git.ipfire.org Git - thirdparty/glibc.git/commit
malloc: Fix checking for small negative values of tcache_key master
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 10 Aug 2025 21:43:37 +0000 (23:43 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 10 Aug 2025 21:45:35 +0000 (23:45 +0200)
commit8543577b04ded6d979ffcc5a818930e4d74d0645
tree7acb37ecf507de34de4d7260c6e943536f5fa8cf
parent2536c4f8584082a1ac4c5e0a2a6222e290d43983
malloc: Fix checking for small negative values of tcache_key

tcache_key is unsigned so we should turn it explicitly to signed before
taking its absolute value.
malloc/malloc.c