avcodec/htmlsubtitles: Fix reading one byte beyond the array
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 11 Nov 2016 01:25:42 +0000 (02:25 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 12 Nov 2016 02:23:03 +0000 (03:23 +0100)
commit04bd1b38ee6b8df410d0ab8d4949546b6c4af26a
treecdee75cf3fa84ef997c1c2c964a050337c14b0b1
parentcdb5479c9ddc886f0b8661db585405ebab343e80
avcodec/htmlsubtitles: Fix reading one byte beyond the array

Fixes: fuzz-2-ffmpeg_SUBTITLE_AV_CODEC_ID_SUBRIP_fuzzer

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