git-pthread_kill_exited
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 10 Jul 2022 20:29:34 +0000 (21:29 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 10 Jul 2022 20:29:34 +0000 (21:29 +0100)
commita4e4bd8fbab159740cc0bb49cbf28cc5676c6946
treedb4e88aa0feb322ec05b22253a7c57ac2cb6d1ec
parenta40367baf392b3fffd32fcb9a4107d67ec23303f
git-pthread_kill_exited

commited for 2.35

commit 2c040d0b904ca8dfd34e72dc9b4722d92436ad7e
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jan 15 14:55:23 2022 +0100

    hurd: Fix pthread_kill on exiting/ted thread

    We have to drop the kernel_thread port from the thread structure, to
    avoid pthread_kill's call to _hurd_thread_sigstate trying to reference
    it and fail.

commit c1105e34aced53b26f02176b973079eb30fc54b1
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jan 15 21:30:17 2022 +0100

    htl: Clear kernel_thread field before releasing the thread structure

    Otherwise this is a use-after-free.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-pthread_kill_exited.diff
sysdeps/hurd/htl/pt-kill.c
sysdeps/mach/htl/pt-thread-terminate.c