diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-25 12:28:50 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2013-02-10 18:01:15 +0100 |
commit | 9def5c466648d970f8d3e03d4b3947a6852d9c61 (patch) | |
tree | 421170c92607bb5260d6a8094f2918d904b0aba2 /libavutil/adler32.h | |
parent | 7aeb281aa5078726eef5f7db0e7b513932454dc0 (diff) | |
download | ffmpeg-9def5c466648d970f8d3e03d4b3947a6852d9c61.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/adler32.h')
0 files changed, 0 insertions, 0 deletions