on2avc: check number of channels
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 4 Oct 2014 20:15:07 +0000 (22:15 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 20 Dec 2014 09:51:41 +0000 (10:51 +0100)
commit48952116352ab03565cc14805e0f1d63cf0318fe
tree60f1d40c4e075c4a5e056862052aabdd1bcc25ce
parent58dc526ebf722d33bf09275c1241674e0e6b9ef1
on2avc: check number of channels

Fixes invalid memory access.

CC: libav-stable@libav.org
Bug-ID: CVE-2014-8549
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit cee4490b521fd0d02476d46aa2598af24fb8d686)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/on2avc.c