avcodec/qtrle: Check remaining bytestream in qtrle_decode_XYbpp()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 29 Jul 2018 10:40:48 +0000 (12:40 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 3 Aug 2018 00:08:16 +0000 (02:08 +0200)
commit7dd836a3f9771e0e44df1b27e67d6866d91e06d7
treea7c64ab83b64fc929ddcef2f36eb44f46059ff8d
parent2de5209d912d1ef153850d67b33dc87ee51c7ec9
avcodec/qtrle: Check remaining bytestream in qtrle_decode_XYbpp()

Fixes: Timeout
Fixes: 9213/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QTRLE_fuzzer-5649753332252672

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