diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-03-23 20:55:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-03-27 08:50:03 +0100 |
commit | cbfd062d1667291ba16c94cd611d37b1aff7fbe2 (patch) | |
tree | f929bc0224531da7f105f07e37ecdd8addd95225 /libavcodec/h264idct.h | |
parent | 0eeea04a7170040cd5035e0ab2acc546815886ce (diff) | |
download | ffmpeg-cbfd062d1667291ba16c94cd611d37b1aff7fbe2.tar.gz |
avcodec/hevcdec: Avoid only partly skiping duplicate first slices
Fixes: NULL pointer dereference and out of array access
Fixes: 13871/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5746167087890432
Fixes: 13845/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5650370728034304
This also fixes the return code for explode mode
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 54655623a82632e7624714d7b2a3e039dc5faa7e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/h264idct.h')
0 files changed, 0 insertions, 0 deletions