summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorYong Zhi <yong.zhi@intel.com>2018-01-04 05:57:16 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-01-05 20:43:20 +0300
commitc7cbef1fdb5480e9f39e8db64ac32ed8e1984adf (patch)
tree86db2077e8387e8174b9d838ad000812334792b8 /tools/perf/scripts/python/call-graph-from-sql.py
parent883dd4c1b8d95c78158a993fc383bfbf5463a095 (diff)
downloadlinux-c7cbef1fdb5480e9f39e8db64ac32ed8e1984adf.tar.xz
media: intel-ipu3: cio2: fix a crash with out-of-bounds access
When dmabuf is used for BLOB type frame, the frame buffers allocated by gralloc will hold more pages than the valid frame data due to height alignment. In this case, the page numbers in sg list could exceed the FBPT upper limit value - max_lops(8)*1024 to cause crash. Limit the LOP access to the valid data length to avoid FBPT sub-entries overflow. Signed-off-by: Yong Zhi <yong.zhi@intel.com> Signed-off-by: Cao Bing Bu <bingbu.cao@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions