aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNikhil Devshatwar <[email protected]>2016-11-18 21:20:19 -0200
committerMauro Carvalho Chehab <[email protected]>2016-11-22 07:03:34 -0200
commit072915b57a85e8d65e22be5595a639110afdcc90 (patch)
tree154e9284473dea3c3928f553b574c2e7988f77df /tools/perf/scripts/python/export-to-postgresql.py
parent8028bfed42dd2f5b612be3cc346699bdf327e16c (diff)
[media] media: ti-vpe: vpe: Return NULL for invalid buffer type
get_q_data can be called with different values for type e.g. vpe_try_crop calls it with the buffer type which gets passed from user space Framework doesn't check wheather its correct type or not If user space passes wrong type, kernel should not crash. Return NULL when the passed type is invalid. Signed-off-by: Nikhil Devshatwar <[email protected]> Signed-off-by: Benoit Parrot <[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