Files
linux/drivers/usb/misc
Johan Hovold a4887ea588 USB: idmouse: fix NULL-deref at probe
commit b0addd3fa6 upstream.

Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-30 09:41:24 +02:00
..
2016-09-13 17:24:24 +02:00
2016-08-09 15:49:01 +02:00
2017-03-30 09:41:24 +02:00
2016-08-09 15:49:01 +02:00
2005-04-16 15:20:36 -07:00
2016-04-29 15:29:18 -07:00
2016-04-29 15:29:18 -07:00
2016-08-09 15:49:01 +02:00
2017-03-30 09:41:24 +02:00