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>
Mon, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commitf81fd4c524e75013a496619b7571f461b12d9a06
tree8eb2b334a1d6b30c05136f0ee52b7c3d53eeca1d
parent9f18b056da9be419267c11185c0ab86c817b6312
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