diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-25 12:28:50 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-04-01 18:33:29 +0200 |
commit | 96ed18cab1048f03ff1c825f46b25d49218f1da4 (patch) | |
tree | 0554729de2c95641c66482fbf0de577a1607ab08 /libavcodec/siprdata.h | |
parent | a207a2fecc6a77735ab0cf209fdba0b4dd942a86 (diff) | |
download | ffmpeg-96ed18cab1048f03ff1c825f46b25d49218f1da4.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>
(cherry picked from commit 6fc3287b9ccece290c5881b92948772bbf72e68c)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/siprdata.h')
0 files changed, 0 insertions, 0 deletions