avcodec/aic: Check remaining bits in aic_decode_coeffs()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 25 Feb 2019 12:26:25 +0000 (13:26 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 13 Mar 2019 23:24:44 +0000 (00:24 +0100)
commit6c0124d3921d95cf92adf8d052f86240d7d73a35
tree84b5aae3532721e51d1fe7c9dfc40974fff95708
parent29619a8ac2751508f368b24b6d83343fc030611f
avcodec/aic: Check remaining bits in aic_decode_coeffs()

Fixes: Timeout (78 seconds -> 2 seconds)
Fixes: 13186/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AIC_fuzzer-5639516533030912

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 951bb7632fe6e3bb1a9c3b47610705871e471f34)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aic.c