avcodec/aacsbr: check that the element type matches before applying SBR
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Jun 2015 22:05:43 +0000 (00:05 +0200)
committerMike Gabriel <sunweaver@debian.org>
Sat, 31 Aug 2019 15:36:55 +0000 (16:36 +0100)
commit53f324f14f7c3e3ac50040bb05a38186579ae5ca
tree75788e1696b25bdf183adf09bd4322d9bd6c10eb
parent1edf677387d170b63000aa6f71f0947d5f9b2876
avcodec/aacsbr: check that the element type matches before applying SBR

avcodec/aacsbr: check that the element type matches before applying SBR

Fixes out of array access
Fixes: signal_sigsegv_3670fc0_2818_cov_2307326154_moon.mux
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Gbp-Pq: Name CVE-2015-6820.patch
libavcodec/aacsbr.c
libavcodec/sbr.h