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>
Sun, 24 Mar 2019 09:39:03 +0000 (10:39 +0100)
commit8c69d65cb4d2314549fd6f6ddce82d1a8ee83724
tree0b33981a7f68677ee8bbbb78e29fcf2de62f93db
parent4e5a17e79070a95dbc0b4cf05261dc38e084a3bf
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