aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2016-05-11 18:44:32 -0300
committerMauro Carvalho Chehab <[email protected]>2016-06-16 07:34:25 -0300
commit126f40298446a82116e1f92a1aaf72b8c8228fae (patch)
tree028f16eefff513db30a42ffa315603fc17d9bb2b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent6f0dd24a084a17f9984dd49dffbf7055bf123993 (diff)
[media] vb2: core: Skip planes array verification if pb is NULL
An earlier patch fixing an input validation issue introduced another issue: vb2_core_dqbuf() is called with pb argument value NULL in some cases, causing a NULL pointer dereference. Fix this by skipping the verification as there's nothing to verify. Fixes: e7e0c3e26587 ("[media] videobuf2-core: Check user space planes array in dqbuf") Signed-off-by: David R <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Reviewed-by: Hans Verkuil <[email protected]> Cc: [email protected] # for v4.4 and later Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions