diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2016-05-11 18:44:32 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-06-16 07:34:25 -0300 |
commit | 126f40298446a82116e1f92a1aaf72b8c8228fae (patch) | |
tree | 028f16eefff513db30a42ffa315603fc17d9bb2b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6f0dd24a084a17f9984dd49dffbf7055bf123993 (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 <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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions