avcodec/wmaprodec: Fix integer overflow in sfb_offsets initialization
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 10 Nov 2014 22:07:50 +0000 (23:07 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Dec 2014 03:40:35 +0000 (04:40 +0100)
commitb4f08f34a852a52a6cf11b490e7a66357132abb6
tree7ae87eff8e00c1771df64cb284caa407e7b21b02
parentc1e048dffea161d7c8ab37b55bc4f36ae1369c1a
avcodec/wmaprodec: Fix integer overflow in sfb_offsets initialization

Fixes out of array read
Fixes: asan_heap-oob_2aec5b0_1828_classical_22_16_2_16000_v3c_0_exclusive_0_29.wma
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 5dcb99033df16eccc4dbbc4a099ad64457f9f090)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/wmaprodec.c