avcodec/opus_silk: Fix integer overflow and out of array read
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 May 2017 12:28:20 +0000 (14:28 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 May 2017 01:41:34 +0000 (03:41 +0200)
commit53567e573bde156021cb375dba5c76d11a5e2d19
treefd867c00b6d5e9da386fc62cd8ec4a9f920143d9
parentec70017f9fc2d5a69b16508a6b00563d0b750b75
avcodec/opus_silk: Fix integer overflow and out of array read

Fixes: 1362/clusterfuzz-testcase-minimized-6097275002552320

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 4654baff125d937ae0b1037aa5f0bf53c7351658)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/opus_silk.c