ffmpeg/libavcodec
Michael Niedermayer cfad9930ff 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>
(cherry picked from commit 96ed18cab1048f03ff1c825f46b25d49218f1da4)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2012-05-28 21:21:53 +02:00
..
2010-07-28 20:14:28 +00:00
2010-07-28 20:14:28 +00:00
2010-07-28 20:14:28 +00:00
2011-04-30 08:16:07 +02:00
2010-07-28 20:14:28 +00:00
2010-07-28 20:14:28 +00:00
2010-07-28 20:14:28 +00:00
2010-07-28 20:14:28 +00:00
2010-07-28 20:14:28 +00:00
2010-07-28 20:14:28 +00:00
2010-07-28 20:14:28 +00:00
2010-07-28 20:14:28 +00:00
2010-07-28 20:14:28 +00:00
2009-04-13 16:20:26 +00:00
2010-04-12 13:21:33 +00:00
2010-06-03 21:36:38 +00:00
2009-12-11 21:50:08 +00:00
2010-03-08 18:43:52 +00:00
2010-03-06 14:24:59 +00:00
2010-04-12 20:45:33 +00:00
2010-04-12 20:45:33 +00:00
2010-03-14 22:29:11 +00:00
2010-03-14 17:50:16 +00:00
2010-01-20 18:54:51 +00:00
2010-03-08 18:43:52 +00:00
2010-03-08 18:43:52 +00:00
2010-03-31 14:13:49 +00:00
2009-04-13 16:20:26 +00:00
2010-05-29 14:03:03 +00:00
2010-06-03 21:36:38 +00:00
2010-02-21 21:48:37 +00:00
2012-04-08 11:43:06 +02:00
2010-03-08 18:43:52 +00:00
2010-02-03 04:40:42 +00:00
2009-05-22 17:14:22 +00:00
2010-04-21 17:51:37 +00:00
2010-04-14 20:15:50 +00:00
2009-12-01 16:56:13 +00:00
2009-12-01 16:56:13 +00:00
2010-04-30 22:09:42 +00:00
2010-03-06 14:24:59 +00:00
2011-12-24 12:20:33 +01:00
2010-07-28 20:14:28 +00:00
2010-01-16 03:54:55 +00:00
2010-03-06 14:24:59 +00:00
2011-12-24 12:20:33 +01:00
2010-03-14 17:50:12 +00:00
2011-03-22 21:15:20 +01:00
2011-03-22 21:15:20 +01:00
2009-04-13 16:20:26 +00:00
2011-12-24 12:20:32 +01:00
2011-03-18 17:01:08 +01:00
2009-11-16 01:56:47 +00:00
2011-12-24 15:16:36 +01:00
2011-12-24 15:47:57 +01:00
2011-12-24 15:47:57 +01:00
2010-04-30 21:30:27 +00:00
2010-04-30 21:30:27 +00:00
2010-03-06 14:34:46 +00:00
2010-04-21 18:01:34 +00:00
2010-03-06 14:24:59 +00:00