diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-25 12:28:50 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-02-26 10:03:14 +0100 |
commit | 6fc3287b9ccece290c5881b92948772bbf72e68c (patch) | |
tree | b752bb7db446659af0e153b671541cbd4f68eba6 /libavutil/ppc | |
parent | f43b6e2b1ed47a1254a5d44c700a7fad5e9784be (diff) | |
download | ffmpeg-6fc3287b9ccece290c5881b92948772bbf72e68c.tar.gz |
shorten: Use separate pointers for the allocated memory for decoded samples.
Fixes invalid free() if any of the buffers are not allocated due to either
not decoding a header or an error prior to allocating all buffers.
Fixes CVE-2012-0858
CC: libav-stable@libav.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
(cherry picked from commit 204cb29b3c84a74cbcd059d353c70c8bdc567d98)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavutil/ppc')
0 files changed, 0 insertions, 0 deletions