]> git.sesse.net Git - ffmpeg/commit
avcodec/loco: Check for end of input in the first line
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 25 Sep 2019 19:48:26 +0000 (21:48 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 26 Sep 2019 19:02:34 +0000 (21:02 +0200)
commitc5a52eb5cd5613cfede81648a58cd95088d0a3a7
tree860cb1b55802c07cdf2f18417e9a12c72f8998fc
parent2acbbe262325187d87e8881c2984d203fb54207e
avcodec/loco: Check for end of input in the first line

Fixes: Timeout (85sec -> 0.1sec)
Fixes: 17634/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LOCO_fuzzer-5666410809786368
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/loco.c