aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorPaul Eggert2014-05-26 20:46:30 -0700
committerPaul Eggert2014-05-26 20:46:30 -0700
commitca0279be7037b3f8bf659ef8b073ea847d0d8553 (patch)
treede126355f2188009eee679a4b36b38404838e941 /src/buffer.c
parent9aecbeb30847520f92ba273ec149c9ea5f289c51 (diff)
downloademacs-ca0279be7037b3f8bf659ef8b073ea847d0d8553.tar.gz
emacs-ca0279be7037b3f8bf659ef8b073ea847d0d8553.zip
Don't kill already-reaped process.
* process.c (process_send_signal): Fix race condition where a subprocess was reaped by a signal handler between the check for liveness and calling 'kill', which meant that Emacs could in theory kill an innocent bystander process. Do the fix by blocking SIGCHLD in a critical section that checks liveness before killing. Fixes: debbugs:17561
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions