aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2017-03-13 09:53:59 -0300
committerMauro Carvalho Chehab <[email protected]>2017-04-05 15:07:31 -0300
commitaa58fedb8c7b6cf2f05941d238495f9e2f29655c (patch)
treedf9ba8889eb163b68126878e641b28c2ace1715f /tools/perf/scripts/python/export-to-postgresql.py
parent6ea87867e552500b242cd5be3590d6c1ff91f508 (diff)
[media] gspca: konica: add missing endpoint sanity check
Make sure to check the number of endpoints to avoid accessing memory beyond the endpoint array should a device lack the expected endpoints. Note that, as far as I can tell, the gspca framework has already made sure there is at least one endpoint in the current alternate setting so there should be no risk for a NULL-pointer dereference here. Fixes: b517af722860 ("V4L/DVB: gspca_konica: New gspca subdriver for konica chipset using cams") Cc: stable <[email protected]> # 2.6.37 Cc: Hans de Goede <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions