sanm: add forgotten check for decoded_size in old_codec37()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 12 Feb 2013 00:09:03 +0000 (01:09 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 3 Mar 2013 01:41:07 +0000 (02:41 +0100)
commit4f873341b4d522b1bfa385a1f6fc86bb8b6dc879
tree111f340adf4c0e262970fdd1933eb546b763d259
parent857a0379457ef79c1dc15d15b672e374d74dd6dc
sanm: add forgotten check for decoded_size in old_codec37()

Fixes out of array accesses

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

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