alsdec: fix number of decoded samples in first sub-block in BGMC mode.
authorThilo Borgmann <thilo.borgmann@googlemail.com>
Sun, 15 Apr 2012 16:07:12 +0000 (18:07 +0200)
committerReinhard Tartler <siretart@tauware.de>
Fri, 4 Jan 2013 06:43:38 +0000 (07:43 +0100)
commit9474c93028444f0524e8a09a115fbdc3a3756cd0
tree3a0e7a6a1e43da9c2284a28d1175e2eec2e2f2cf
parent7e070cf2025fe7d0d7f296b7c7592e2c9b8cd1e5
alsdec: fix number of decoded samples in first sub-block in BGMC mode.

Fixes CVE-2012-2790

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
(cherry picked from commit 66197988b1ee914825afbc3084e6da63f862068a)

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