diff options
| author | Johan Hovold <johan@kernel.org> | 2017-01-03 16:39:55 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-06-17 15:48:31 +0200 |
| commit | cfb7365081eb284eb79a38c4f468779f5cd694d9 (patch) | |
| tree | 2dec418265906133520ae659c58d6bfa7308fed4 /scripts/Makefile.headersinst | |
| parent | 9adb14234adce59afdda168944aa0db43dda1f10 (diff) | |
USB: serial: mos7840: fix NULL-deref at open
commit 5c75633ef751dd4cd8f443dc35152c1ae563162e upstream.
Fix NULL-pointer dereference in open() should the device lack the
expected endpoints:
Unable to handle kernel NULL pointer dereference at virtual address 00000030
...
PC is at mos7840_open+0x88/0x8dc [mos7840]
Note that we continue to treat the interrupt-in endpoint as optional for
now.
Fixes: 3f5429746d91 ("USB: Moschip 7840 USB-Serial Driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'scripts/Makefile.headersinst')
0 files changed, 0 insertions, 0 deletions
