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, 14 Jan 2019 23:57:27 +0000 (00:57 +0100)
commita48c69a04e2867e5dda428efd0804f192eb9f099
tree7daa2a53aee07e29b0dfb5373ef758204605af3e
parentb96292c6d34896b51c971748baa1d34b0890fbaf
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