avcodec/shorten: Check verbatim length
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 12 Aug 2018 20:43:33 +0000 (22:43 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commit5eeaaa29fae0d5c22e2e542bc3064b984e34c93b
tree724afc05ef472f0e208d6154bfd2fc4ddd2c8cd3
parentf7778c2ce95449b60e167644b3fe5bd09ec1fd14
avcodec/shorten: Check verbatim length

Fixes: Timeout
Fixes: 9252/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5780720709533696

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 7007dabec08f2f9f81661e71ef482dde394e17a8)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/shorten.c