diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-26 19:41:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-28 21:57:50 +0200 |
commit | 6ea8f03bf4b7bca2f4db28ea57696584e2560e20 (patch) | |
tree | c7863fad6a3d3eedd331a0e800eae7af8896cf41 /tests/ref/seek/lavf-sgi | |
parent | 5f8555d156c96d6aa3d42762923311a73b4d469c (diff) | |
download | ffmpeg-6ea8f03bf4b7bca2f4db28ea57696584e2560e20.tar.gz |
avcodec/jpeg2000dec: Move reslevelno check before use in case JPEG2000_PGOD_RPCL
Fixes: division by zero
Fixes: 24201/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5665813827420160
Fixes: 24245/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-6285831682392064
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Gautam Ramakrishnan <gautamramk@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/ref/seek/lavf-sgi')
0 files changed, 0 insertions, 0 deletions