ffmpeg/libavcodec
Michael Niedermayer 014dee89d0 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>
2014-09-20 18:40:33 +02:00
..
2014-03-07 08:32:55 -05:00
2014-02-17 20:50:33 +01:00
2014-06-23 15:56:15 +02:00
2014-06-23 15:56:15 +02:00
2014-02-16 21:13:02 +01:00
2014-02-07 19:32:16 +00:00
2014-02-18 18:11:23 +01:00
2014-05-05 00:09:17 +02:00
2014-02-06 02:51:19 +01:00
2014-09-20 18:40:33 +02:00
2014-03-23 20:31:05 +01:00
2014-06-02 22:59:50 +02:00
2014-01-31 18:34:14 +01:00
2014-05-10 12:03:46 -04:00
2014-02-21 16:57:26 -03:00
2014-02-21 16:57:26 -03:00
2014-02-10 21:45:55 +01:00
2014-02-10 21:45:55 +01:00
2014-02-22 18:29:17 +01:00
2014-03-23 20:31:05 +01:00
2014-09-20 18:40:32 +02:00
2014-03-02 11:42:37 -05:00
2014-01-27 20:36:42 +01:00
2014-05-08 19:56:00 -04:00