diff options
author | Monty <xiphmont@xiph.org> | 2014-04-24 20:59:56 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2014-04-24 20:59:56 +0000 |
commit | 7c6531cee04e3b3956a2c01eadfd72548bd357e0 (patch) | |
tree | 61e7d55877e234d4562bf6ddba304a4e489685bb /src/Makefile.am | |
parent | f8ea965dfa1bd57e6c90c14fbd18fc13c4866ca7 (diff) | |
download | ogg-7c6531cee04e3b3956a2c01eadfd72548bd357e0.tar.gz |
Correct oggpack_writecopy bug reported by Ian Nartowicz: Integer
overflow checking in oggpack_writecopy_helper got the reallocation
size test condition backwards and so would error out when it needed to
expand the destination's internal buffer.
At the same time, do preexpansion of both aligned and unaligned copies
to avoid possible heap thrashing in the unaligned case.
Add black and glass box unit tests for oggpack_writecopy and
oggpackB_writecopy.
git-svn-id: http://svn.xiph.org/trunk/ogg@19119 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions