avcodec/msrle: Check that the input is large enough to contain a end of picture code
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 Oct 2018 12:40:14 +0000 (14:40 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 24 Oct 2018 21:15:24 +0000 (23:15 +0200)
commit203ccb8746997777ce66beadd53b4631d217b9cd
tree2403d6f32b7099d4e6e582b5734c39062e11bc32
parent87588caf8cff318cd022ad5002304198c6ddbd51
avcodec/msrle: Check that the input is large enough to contain a end of picture code

Fixes: Timeout
Fixes: 10625/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSRLE_fuzzer-5659651283091456

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