diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-13 09:53:58 -0300 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2017-05-17 15:08:22 -0400 |
commit | 4ee5f3baad194e4850c80f31af72406a5faa5639 (patch) | |
tree | af4227d0c794ba061cd8ba804a77274c9996d595 /crypto | |
parent | 8b6c66045c336a22fe5593046099e4ca3f2501ad (diff) |
[media] cx231xx-audio: fix NULL-deref at probe
[ Upstream commit 65f921647f4c89a2068478c89691f39b309b58f7 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions