avcodec/bintext: Check font height
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Jun 2019 14:01:45 +0000 (16:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 26 Jun 2019 19:25:10 +0000 (21:25 +0200)
commitbfb58bdd7015a6df2d130c92cf284d6a2362f3df
tree207140192440756779229290734bc727410b0f3d
parent7a072fbcc4c6f8ddbf37b131c2d141589118abcd
avcodec/bintext: Check font height

Fixes: division by zero
Fixes: 15257/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BINTEXT_fuzzer-5757352881422336

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/bintext.c