diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-13 13:53:58 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-04-10 12:34:46 +0200 |
commit | 65f921647f4c89a2068478c89691f39b309b58f7 (patch) | |
tree | 9c94ea4fb91f3917f9e407e8b5a8e3c1da359316 /Documentation/block | |
parent | [media] cx231xx-audio: fix init error path (diff) | |
download | linux-65f921647f4c89a2068478c89691f39b309b58f7.tar.xz linux-65f921647f4c89a2068478c89691f39b309b58f7.zip |
[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 '')
0 files changed, 0 insertions, 0 deletions