Files
linux/drivers
Johan Hovold 2338de43e2 cx231xx-cards: fix NULL-deref at probe
commit 0cd273bb5e upstream.

Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer or accessing memory beyond the endpoint array should a
malicious device lack the expected endpoints.

Fixes: e0d3bafd02 ("V4L/DVB (10954): Add cx231xx USB driver")

Cc: Sri Deevi <Srinivasa.Deevi@conexant.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-25 15:44:42 +02:00
..
2016-12-05 14:53:46 -05:00
2017-04-21 09:31:23 +02:00
2017-05-25 15:44:32 +02:00
2017-05-20 14:28:41 +02:00
2016-09-27 12:33:47 +02:00
2017-02-23 17:44:36 +01:00
2017-04-12 12:41:18 +02:00
2016-09-20 20:57:12 +10:00
2017-04-21 09:31:24 +02:00
2017-03-30 09:41:24 +02:00