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>
Wed, 19 Dec 2018 19:09:03 +0000 (20:09 +0100)
commite63517e00a1a8375c7fb3b8c4c64c9a7c3da713e
tree332046079db72a50ee106ccd77536b7ac2754cda
parent8a708aa99cb0e8d76e52117b1fd89d221f0055e9
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>
libavcodec/rpza.c