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, 30 Mar 2019 20:44:13 +0000 (20:44 +0000)
commite93fa50153a0bd797dce6ad826f6b4462b957c7c
tree24f0c632bec982dfc580b36979c48e184e4fdcb5
parentb9c8f9ac41eed1b2dbfc3144ffb8be5af7979799
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