summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/rum/microcode.h
diff options
context:
space:
mode:
authormaxv <maxv@NetBSD.org>2019-07-31 19:40:59 +0000
committermaxv <maxv@NetBSD.org>2019-07-31 19:40:59 +0000
commitb2bdfa6169625f471836f7c89851fe8ab3621d4f (patch)
tree5a2b848e566c69fdfc52972632b36c91dcb2443d /sys/dev/microcode/rum/microcode.h
parent65423c12546025d0f57e87576062dbf8feb39197 (diff)
1) Make sure we have a complete endpoint descriptor header, otherwise
small overflow. 2) Make sure the total length of the bos descriptor did not change in the meantime, otherwise severe memory corruption. 3) Make sure we have a complete hid descriptor header, otherwise small overflow. 4) Error out if the report descriptor is zero-sized, otherwise panic. ok skrll@ mrg@
Diffstat (limited to 'sys/dev/microcode/rum/microcode.h')
0 files changed, 0 insertions, 0 deletions