alsdec: check block length
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 12 Dec 2012 11:28:45 +0000 (12:28 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 17 Feb 2013 22:22:12 +0000 (23:22 +0100)
commit760929117df0d6349a2cb56af084d8a13ee7f33a
tree09b84320283cbebe5208d63742f0c794e5736651
parentacada70ffbd729516495ee683f70abad124f93d5
alsdec: check block length

Fix writing over the end

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 0ceca269b66ec12a23bf0907bd2c220513cdbf16)

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