avcodec/bintext: sanity check dimensions
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 26 Feb 2018 20:17:08 +0000 (21:17 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commit5909508e8df3bd762efc0dbd10b5e5a16ed2993e
tree1d4cb524dc8e9896b8afa5ab90c9ba63c4bd2732
parentbafb13dc0fd60f49f613bf4c52ce88b91176755c
avcodec/bintext: sanity check dimensions

Fixes: Timeout
Fixes: 6277/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XBIN_fuzzer-6047202288861184

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