aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qcelpdec.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-06-10 00:12:38 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-10 12:23:21 +0200
commit1051c152f97c0e22436fee3657dc7c31a229aba4 (patch)
tree1e95df94941a5fdb340b46df781aed31764c91fa /libavcodec/qcelpdec.c
parent5a0862af55298259c4528645695c8348c830be38 (diff)
downloadffmpeg-1051c152f97c0e22436fee3657dc7c31a229aba4.tar.gz
takdec: ensure chan2 is a valid channel index
If chan2 is not smaller than the number of channels, it can cause segmentation faults due to dereferencing a NULL pointer. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 05c57ba2f42324da2fdc93d83d65bb68dd637613) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/qcelpdec.c')
0 files changed, 0 insertions, 0 deletions