summaryrefslogtreecommitdiffstats
path: root/libavformat/ircamenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <[email protected]>2014-08-22 01:15:57 +0200
committerMichael Niedermayer <[email protected]>2014-09-20 18:40:33 +0200
commit014dee89d00fdf474740fbb5cbcdf07cca8aaa9c (patch)
tree9ffe5b59162a265c2f7da3f33c9a85e708e01e71 /libavformat/ircamenc.c
parentda1a8191c524a122a6656e7dcd05f4c0e2a37088 (diff)
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 <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit fccd85b9f30525f88692f53134eba41f1f2d90db) Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/ircamenc.c')
0 files changed, 0 insertions, 0 deletions