summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-13 15:53:56 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-04-10 13:31:45 +0300
commit0cd273bb5e4d1828efaaa8dfd11b7928131ed149 (patch)
tree4b4ab3e86013d5fe0f1af5f255ed1e3292f3ff7e /tools/perf/scripts/python
parenteacb975b48272f54532b62f515a3cf7eefa35123 (diff)
downloadlinux-0cd273bb5e4d1828efaaa8dfd11b7928131ed149.tar.xz
[media] cx231xx-cards: fix NULL-deref at probe
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: e0d3bafd0258 ("V4L/DVB (10954): Add cx231xx USB driver") Cc: stable <stable@vger.kernel.org> # 2.6.30 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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions