mirror of https://github.com/FFmpeg/FFmpeg.git
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>release/6.1
parent
d0852a36cf
commit
b45da36a29
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue