diff options
| author | kamil <kamil@NetBSD.org> | 2019-10-04 23:20:22 +0000 |
|---|---|---|
| committer | kamil <kamil@NetBSD.org> | 2019-10-04 23:20:22 +0000 |
| commit | 9cb4ef149ebfeab2e59d18a3a693b97931114d33 (patch) | |
| tree | 5c6ce28156c6b5e8616075d5e2ae89d62008795f /sys/dev | |
| parent | 8899ba7ad266e055004ae99f5d15c301b21d1847 (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
