wmaprodec: check num_vec_coeffs for validity
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 14 Apr 2012 09:07:11 +0000 (11:07 +0200)
committerReinhard Tartler <siretart@tauware.de>
Fri, 4 Jan 2013 06:43:37 +0000 (07:43 +0100)
commit4a636a5e43685637129efbf2ac65f4bdad011e37
treee52f75d13a96e4a68135ace148d67615ef23d459
parent44da556815fc02ed0c763e8e8bda3ea7824b7954
wmaprodec: check num_vec_coeffs for validity

Fixes CVE-2012-2789

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit 99f392a584dd10b553facc8e819f2c7e982e176d)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/wmaprodec.c