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:48:30 +0100 |
commit | 9ccc633068c6fe76989f487c8932bd11886ad65b (patch) | |
tree | 248556f085a0497ece382e8451ba9dc6db5a859c /libavcodec/dct.c | |
parent | d31940f04e864542819fb6b998d796e14305bd3c (diff) | |
download | ffmpeg-9ccc633068c6fe76989f487c8932bd11886ad65b.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/dct.c')
0 files changed, 0 insertions, 0 deletions