Files
st/st.c
Avro 04ce0d643e fix async-unsafe error paths in sigchld()
die() calls vfprintf(3) and exit(3), which are not
async-signal-safe.  If SIGCHLD is handled while exiting, this
can make st hang or crash.

Commit d6ea0a1 replaced exit(3) by _exit(2) in sigchld()
but the error paths still call die().  Fix that by using
_exit(2) there as well.
2026-07-02 20:20:35 +02:00

58 KiB