diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-22 01:15:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-03 03:16:37 +0200 |
commit | 29ee8b72c40ba694fec18229428214b871dd4154 (patch) | |
tree | d38d0694677bb4562fa05b75b2575532b5f34bc6 /libavcodec/x86/h264_intrapred.asm | |
parent | 25864cf562c3c7571a27408e17b8ad39a6fd9cdc (diff) | |
download | ffmpeg-29ee8b72c40ba694fec18229428214b871dd4154.tar.gz |
avcodec: fix aac/ac3 parser bitstream buffer size
Buffers containing copies of the AAC and AC3 header bits were not padded
before parsing, violating init_get_bits() buffer padding requirement,
leading to potential buffer read overflows.
This change adds FF_INPUT_BUFFER_PADDING_SIZE bytes to the bit buffer
for parsing the header in each of aac_parser.c and ac3_parser.c.
Based on patch by: Matt Wolenetz <wolenetz@chromium.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit fccd85b9f30525f88692f53134eba41f1f2d90db)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/h264_intrapred.asm')
0 files changed, 0 insertions, 0 deletions