aboutsummaryrefslogtreecommitdiff
path: root/malloc/alloc_buffer_alloc_array.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-03-12 10:59:17 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-03-13 10:33:54 -0300
commitce9b765522f014daa0392099dd9ba1f7ddcc511d (patch)
tree70510b0eeed7ba2777a20eacc62a6c6e83e61d2b /malloc/alloc_buffer_alloc_array.c
parent98c712855d6606d078aaabaa7ef24b695c3f0349 (diff)
downloadglibc-ce9b765522f014daa0392099dd9ba1f7ddcc511d.tar.xz
glibc-ce9b765522f014daa0392099dd9ba1f7ddcc511d.zip
nptl: Check if thread is already terminated in sigcancel_handler (BZ 32782)
The SIGCANCEL signal handler should not issue __syscall_do_cancel, which calls __do_cancel and __pthread_unwind, if the cancellation is already in proces (and libgcc unwind is not reentrant). Any cancellation signal received after is ignored. Checked on x86_64-linux-gnu and aarch64-linux-gnu. Tested-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Florian Weimer <fweimer@redhat.com> (cherry picked from commit 360cce0b066f34e85e473c04cdc16e6fa426021b)
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions