aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2016-05-11 18:44:32 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-06-16 07:34:25 -0300
commit126f40298446a82116e1f92a1aaf72b8c8228fae (patch)
tree028f16eefff513db30a42ffa315603fc17d9bb2b /tools/perf/scripts/python/bin/stackcollapse-record
parent[media] media: fix media devnode ioctl/syscall and unregister race (diff)
downloadlinux-126f40298446a82116e1f92a1aaf72b8c8228fae.tar.gz
linux-126f40298446a82116e1f92a1aaf72b8c8228fae.zip
[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 <david@unsolicited.net> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: stable@vger.kernel.org # for v4.4 and later Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions