summaryrefslogtreecommitdiff
path: root/src/test/test-signal-util.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-03 16:40:02 +0900
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commit1e1ce9732643a6aba350e5f22d9d8a2f56226d37 (patch)
tree2d0893424b3a32a5fe9b0489db0f472a71cdc320 /src/test/test-signal-util.c
parentef3f4955645948ad7986cdfa39cecf8e532068f2 (diff)
util: make signal_from_string() accept RTMIN, RTMAX, and RTMAX-n
Before this, `signal_from_string()` accepts simple signal name or RTMIN+n. This makes the function also accept RTMIN, RTMAX, and RTMAX-n. Note that RTMIN+0 is equivalent to RTMIN, and RTMAX-0 is to RTMAX. This also fixes the integer overflow reported by oss-fuzz #8064. https://oss-fuzz.com/v2/testcase-detail/5648573352902656
Diffstat (limited to 'src/test/test-signal-util.c')
0 files changed, 0 insertions, 0 deletions