avcodec/rpza: Check that there is enough data for all the blocks
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Dec 2018 18:13:27 +0000 (19:13 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 21 Jan 2019 06:53:26 +0000 (07:53 +0100)
commitc22b67feaae9f6b5a9ebbbb84d64ff749f084135
tree07aa3fee8d37a450832bc7b78c1f714e5966cbe9
parent4c0be3a60cf862656d276443fb0ca1bfcfa7bdc2
avcodec/rpza: Check that there is enough data for all the blocks

Fixes: Timeout
Fixes: 11547/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RPZA_fuzzer-5678435842654208

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 e63517e00a1a8375c7fb3b8c4c64c9a7c3da713e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/rpza.c