aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/smacker.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-09-29 11:31:35 -0400
committerReinhard Tartler <siretart@tauware.de>2012-10-14 15:27:39 -0400
commitd7de11260bd1f656b475dbe96c10a602fbff332e (patch)
tree4cc33c8ca6a8879f571815c8f5cde7d07875f0ed /libavformat/smacker.c
parent31bc3fb563b12931cc4e2175adbeec92a5de05f1 (diff)
downloadffmpeg-d7de11260bd1f656b475dbe96c10a602fbff332e.tar.gz
ac3dec: ensure get_buffer() gets a buffer for the correct number of channels
If there is an error during frame parsing, but AVCodecContext.channels was changed and AC3DecodeContext.out_channels was set previously, the two may not match. Fixes CVE-2012-2802 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org (cherry picked from commit 56b6a43056235fc110a018678da590595734203d) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavformat/smacker.c')
0 files changed, 0 insertions, 0 deletions