diff options
| author | Kieran Bingham <[email protected]> | 2018-05-18 16:41:57 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-05-25 18:40:19 -0400 |
| commit | 076673419741c1c769f59536c199234937df1762 (patch) | |
| tree | d5439b1f3ebc2b257585d94b55fb2b435b2ffdc5 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 764dfee1a153eebf43bdb4eee94ef7e156ff5f5f (diff) | |
media: vsp1: Protect bodies against overflow
The body write function relies on the code never asking it to write more
than the entries available in the list.
Currently with each list body containing 256 entries, this is fine, but
we can reduce this number greatly saving memory. In preparation of this
add a level of protection to catch any buffer overflows.
Signed-off-by: Kieran Bingham <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions