]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: /proc/<PID>/status: avoid crash computing signal info
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 10 Jan 2023 10:45:28 +0000 (11:45 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 10 Jan 2023 10:48:02 +0000 (11:48 +0100)
commit7c14e5a10add3ad3dc53ed6af1ad2044d205e844
treeb214f9a6c2ed3953bdb796d7a48d014e061b8532
parent1a9f95d8941d58385fb76ec20fac143c035cec85
Cygwin: /proc/<PID>/status: avoid crash computing signal info

The code computing the mask of pending signals used the per-queued
signal TLS pointer without checking it for NULL.  Fix this by using
the process-wide signal mask in that case.

Fixes: 195169186bfd5 ("Cygwin: wait_sig: allow to compute process-wide mask of pending signals")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/release/3.4.4
winsup/cygwin/sigproc.cc
This page took 0.030764 seconds and 5 git commands to generate.