avcodec/ivi: Move buffer/block end check to caller of ivi_dc_transform()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 Apr 2019 22:09:57 +0000 (00:09 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Jun 2019 15:50:47 +0000 (17:50 +0200)
commit92205c4a1d422230702a09cbebd70a780627d1b1
tree556de332e300f293bf4126b28097d158d44864ad
parentfb3135ae97948c9dab2b68cfe8a59f35f1e7d287
avcodec/ivi: Move buffer/block end check to caller of ivi_dc_transform()

Fixes: assertion failure
Fixes: 14078/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO5_fuzzer-5760571284127744

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