avcodec/hevcdec: Check for overlapping slices
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 16 Nov 2018 19:03:01 +0000 (20:03 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 1 Dec 2018 01:17:19 +0000 (02:17 +0100)
commit1a89ae1df8585134b9524f736b71cee98de7895a
tree8246c594c5fece0c6ffd63ae894a446b2df6d976
parent7f22a4ebc97817fd0968f5ea8295c9a59a6292e0
avcodec/hevcdec: Check for overlapping slices

Fixes: Timeout
Fixes: 10108/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-6222384351674368

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hevcdec.c
libavcodec/hevcdec.h