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>
Mon, 9 Jul 2018 23:18:52 +0000 (01:18 +0200)
commit6d3f8992acc9de0af0bfae5a8844c87747d92ad0
treed504cba2e0f1e0a3bc02ace019f46348a0e19116
parente724bd1dd9efea3abb8586d6644ec07694afceae
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