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)
committerMarkus Koschany <apo@debian.org>
Mon, 7 Jan 2019 18:45:12 +0000 (18:45 +0000)
commit92a5715a440a2cb385194aa3830c027d453aabe1
tree087c83ff5fbc26b7c4409ea2252d7989adfec005
parent4aff8da9278c00c223342d9c8cf571c51af4c1df
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