wma: fix invalid buffer size assumptions causing random overreads.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 2 Mar 2012 00:19:51 +0000 (16:19 -0800)
committerReinhard Tartler <siretart@tauware.de>
Sun, 4 Mar 2012 11:26:06 +0000 (12:26 +0100)
commitb863979c0f36b565857c49cf6297810e22a9ba10
treea4ee946e6bab1e790f5b452fca6b752fbb0c712c
parentfecd7468fcbf9115afdd8bf3dc3d08da0975e4d8
wma: fix invalid buffer size assumptions causing random overreads.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 349b7977e408f18cff01ab31dfa66c8249b6584a)

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