diff options
| author | Johan Hovold <johan@kernel.org> | 2017-03-13 13:47:48 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-06-17 15:54:21 +0200 |
| commit | 04db8cb58dfe0e587475d62a17c3fdc7aa96f869 (patch) | |
| tree | eae49a8bf28b03a17d5358fcb0bd03678d85ce60 /include/linux/pps_kernel.h | |
| parent | b56f202371da1cb3f4dab08e7f2475d5356f9af7 (diff) | |
USB: idmouse: fix NULL-deref at probe
commit b0addd3fa6bcd119be9428996d5d4522479ab240 upstream.
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions
