diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-07-30 01:55:22 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-08-10 09:44:08 +0200 |
commit | 2536c4f8584082a1ac4c5e0a2a6222e290d43983 (patch) | |
tree | 9d51e4b4ede025c58d5d452f49a1c4bb7fb76536 /sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h | |
parent | a6eb8285d9bfb7ec0875b85ca356e833ff964d4f (diff) | |
download | glibc-master.zip glibc-master.tar.gz glibc-master.tar.bz2 |
We want tcache_key not to be a commonly-occurring value in memory, so ensure
a minimum amount of one and zero bits.
And we need it non-zero, otherwise even if tcache_double_free_verify sets
e->key to 0 before calling __libc_free, it gets called again by __libc_free,
thus looping indefinitely.
Fixes: c968fe50628db74b52124d863cd828225a1d305c ("malloc: Use tailcalls in __libc_free")
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h')
0 files changed, 0 insertions, 0 deletions