Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
| POSIX paranoia: Signal handlers are extremely limited in what they are | allowed to do; in particular, it is undefined behaviour for them to | read objects of static storage duration. Consequently, it is not safe | to read the badsigs[] array to determine in which position in gotsig[] | to record the signal having arrived. | | Switch to a sparse array which is indexed by signal number. | | Reported by: Ted Unangst | Reviewed by: Ted Unangst | Bug bounty: $10
- Loading branch information