Revision 46c319b848268dab3f0e7c4a5b6e9146d3bca8a4 authored by Johan Hovold on 13 March 2017, 12:49:45 UTC, committed by Wim Van Sebroeck on 18 May 2017, 16:51:34 UTC
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")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
1 parent ddd6d24
History
File Mode Size
Kconfig -rw-r--r-- 952 bytes
Makefile -rw-r--r-- 324 bytes
amd7930.c -rw-r--r-- 30.4 KB
cs4231.c -rw-r--r-- 56.0 KB
dbri.c -rw-r--r-- 78.3 KB

back to top