summaryrefslogtreecommitdiff
path: root/block/bio.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-13 09:53:58 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-04-10 07:34:46 -0300
commit65f921647f4c89a2068478c89691f39b309b58f7 (patch)
tree9c94ea4fb91f3917f9e407e8b5a8e3c1da359316 /block/bio.c
parentfff1abc4d54e469140a699612b4db8d6397bfcba (diff)
[media] cx231xx-audio: 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 'block/bio.c')
0 files changed, 0 insertions, 0 deletions