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>
Tue, 27 Feb 2018 18:59:58 +0000 (19:59 +0100)
commitadd3c2468e960767c7fc7232ab8a492f8c55e65b
tree145cb43748fa1394870e652aeb87ba726d48b7f8
parentfbf690d79a611a8dd9df1bce4189e5bf9c05508a
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