diff options
author | Leo Izen <leo.izen@gmail.com> | 2024-11-07 11:31:49 -0500 |
---|---|---|
committer | Leo Izen <leo.izen@gmail.com> | 2024-11-13 10:26:28 -0500 |
commit | 18883fbcab752d5857b99afafe045508a26a2413 (patch) | |
tree | 7a0bd3719b1d9c138477839ab9c40bc40769fc62 /libavfilter/af_channelsplit.c | |
parent | a5dabfc9c03f16af5a99b056f080421ed6ecc57d (diff) | |
download | ffmpeg-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 'libavfilter/af_channelsplit.c')
0 files changed, 0 insertions, 0 deletions