diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-30 14:56:36 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-07-15 17:12:55 +0200 |
| commit | bf533acaaa7dee21d49bcaabf8e813ea36bddcd8 (patch) | |
| tree | 916880b11203622486cf201c3950bc6f21588b94 /tools/perf/scripts/python/parallel-perf.py | |
| parent | 007b61981aa970d314a6042cedcf7ef2cf34bf23 (diff) | |
media: cx18: stop VBI start-code scan before short tail
compress_sliced_buf() scans one byte at a time while testing a four-byte
VBI start code. The final iterations can read beyond the remaining
buffer tail.
Stop the scan once fewer than four bytes remain.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
