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>
Mon, 10 Nov 2014 22:09:39 +0000 (23:09 +0100)
commit5dcb99033df16eccc4dbbc4a099ad64457f9f090
tree28b828ed0e8995c4608d714a148694ad8cb39980
parent8c28a39c2c38fd9d13dc5247fca7bca8b3f2fcad
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>
libavcodec/wmaprodec.c