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>
Wed, 31 Oct 2018 23:52:46 +0000 (00:52 +0100)
commit1e1c02c51b3bab52753fd09ecaea0a852df1a623
tree5ca41dd5b7d79afe945f374efffc8273e3c4f94c
parentc1a3212d45a99dce153f4185befc49daa579ef10
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>
(cherry picked from commit 7dd836a3f9771e0e44df1b27e67d6866d91e06d7)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/qtrle.c