diff options
author | anton <anton@cvs.openbsd.org> | 2019-01-27 11:59:31 +0000 |
---|---|---|
committer | anton <anton@cvs.openbsd.org> | 2019-01-27 11:59:31 +0000 |
commit | 4a2a318b51becfba0dbcbd8f926bc0511e3b4b05 (patch) | |
tree | 3f9fe6a73fbd94e70836172dd481ae21f9986fff /sys/lib | |
parent | 5b520f0f59f11916239842abfd0e989cf63e8248 (diff) |
Validate the user-supplied device index given to WSMUXIO_ADD_DEVICE. The same
index is used to index an array which could cause a panic if it's negative.
ok deraadt@
Reported-by: syzbot+c5997876fea393e6b948@syzkaller.appspotmail.com
Diffstat (limited to 'sys/lib')
0 files changed, 0 insertions, 0 deletions