summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorkamil <kamil@NetBSD.org>2019-10-04 23:20:22 +0000
committerkamil <kamil@NetBSD.org>2019-10-04 23:20:22 +0000
commit9cb4ef149ebfeab2e59d18a3a693b97931114d33 (patch)
tree5c6ce28156c6b5e8616075d5e2ae89d62008795f /sys/dev
parent8899ba7ad266e055004ae99f5d15c301b21d1847 (diff)
Avoid -LONG_MIN msgtyp in msgrcv(2) and treat it as LONG_MAX
This logic (found in Linux) avoids undefined behavior. Reported-by: syzbot+8af00519a8688d9903ca@syzkaller.appspotmail.com
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions