avcodec/movtextdec: Check style_start/end
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 8 Apr 2018 01:29:44 +0000 (03:29 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 9 Jul 2018 23:52:55 +0000 (01:52 +0200)
commit07cd51f10e96a4b9208d3aa99caea1068f89041b
treefe24bc48f42d91ff1a5a69bb474bbdc2bf23e82a
parent01f124da7f797eb62c71ce5e655f81a4867bcbfe
avcodec/movtextdec: Check style_start/end

Limits based on 3GPP TS 26.245 V14.0.0
Fixes: Timeout
Fixes: 6377/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MOVTEXT_fuzzer-5175929115508736

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 249aca8f98ff7fb09c12ea68e23c862c62203b95)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/movtextdec.c