aboutsummaryrefslogtreecommitdiff
path: root/drivers/remoteproc/remoteproc_elf_loader.c
diff options
context:
space:
mode:
authorJohan Hovold2017-03-13 09:53:56 -0300
committerMauro Carvalho Chehab2017-04-10 07:31:45 -0300
commit0cd273bb5e4d1828efaaa8dfd11b7928131ed149 (patch)
tree4b4ab3e86013d5fe0f1af5f255ed1e3292f3ff7e /drivers/remoteproc/remoteproc_elf_loader.c
parenteacb975b48272f54532b62f515a3cf7eefa35123 (diff)
[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 'drivers/remoteproc/remoteproc_elf_loader.c')
0 files changed, 0 insertions, 0 deletions