aboutsummaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-07 16:11:03 +0100
committerMoyster <oysterized@gmail.com>2017-06-17 15:53:10 +0200
commit4200a5955089f784f1fa938aeec33c774c316fb7 (patch)
tree5ef23ed1dfb791615b7909fcdec74ed2f86c7774 /include/linux/stringify.h
parent4be7f17c4b5703167f5f151a7edaa6515480775f (diff)
USB: iowarrior: fix NULL-deref at probe
commit b7321e81fc369abe353cf094d4f0dc2fe11ab95f upstream. Make sure to check for the required interrupt-in endpoint to avoid dereferencing a NULL-pointer should a malicious device lack such an endpoint. Note that a fairly recent change purported to fix this issue, but added an insufficient test on the number of endpoints only, a test which can now be removed. Fixes: 4ec0ef3a8212 ("USB: iowarrior: fix oops with malicious USB descriptors") Fixes: 946b960d13c1 ("USB: add driver for iowarrior devices.") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions