aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2024-11-07 11:31:49 -0500
committerLeo Izen <leo.izen@gmail.com>2024-11-13 10:26:28 -0500
commit18883fbcab752d5857b99afafe045508a26a2413 (patch)
tree7a0bd3719b1d9c138477839ab9c40bc40769fc62 /tests
parenta5dabfc9c03f16af5a99b056f080421ed6ecc57d (diff)
downloadffmpeg-18883fbcab752d5857b99afafe045508a26a2413.tar.gz
avcodec/jpegxl_parser: fix reading lz77-pair as initial entropy symbol
The JPEG XL parser has an entropy decoder inside, which supports LZ77 length-distance pairs. If the first symbol from the entropy stream is an LZ77 pair, the bitstream is invalid, so we should abort immediately rather than attempt to read it anyway (which would read from the uninitialized starting window). Reported-by: Kacper Michajłow <kasper93@gmail.com> Found-by: ossfuzz Fixes: 368725676/clusterfuzz-testcase-minimized-fuzzer_protocol_file-6022251122589696-cut Fixes: 42537758/clusterfuzz-testcase-minimized-fuzzer_protocol_file-5818969469026304-cut Signed-off-by: Leo Izen <leo.izen@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions