diff options
| author | Nicolas Dufresne <[email protected]> | 2018-06-04 20:24:15 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-07-27 06:39:57 -0400 |
| commit | 95f5cbff90b9e4324839a5c28ee3153a3c9921a5 (patch) | |
| tree | 433445e511e3f235df9c8693fadb0a24d2a1a98e /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 557a5c7fe6503230f6a3a41441981aed6e897d17 (diff) | |
media: uvcvideo: Also validate buffers in BULK mode
Just like for ISOC, validate the decoded BULK buffer size when possible.
This avoids sending corrupted or partial buffers to userspace, which may
lead to application crash or run-time failure.
Signed-off-by: Nicolas Dufresne <[email protected]>
[[email protected]: Move uvc_video_validate_buffer() call to uvc_video_next_buffers()]
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions