1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00
FFmpeg/libavcodec
James Almer 492bbe5890 avcodec/avpacket: fix leak on realloc in av_packet_add_side_data()
If realloc fails, the pointer is overwritten and the previously allocated
buffer is leaked, which goes against the expected behavior of keeping the
packet unchanged in case of error.

Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>

(cherry picked from commit 574929d8b6de32ae712fcca7ab09f01a3e4616be)
2016-11-19 20:24:23 -03:00
..
2016-04-26 12:27:39 +02:00
2015-12-15 22:45:15 -05:00
2016-01-20 16:56:53 +00:00
2016-09-05 01:01:35 +02:00
2016-01-20 16:56:53 +00:00
2015-12-19 09:32:53 -08:00
2015-12-19 09:32:53 -08:00
2015-11-30 18:29:57 -05:00
2015-11-22 16:16:16 -05:00
2015-11-21 08:51:49 -05:00
2016-01-29 19:58:34 -03:00
2016-09-28 17:11:52 +02:00
2016-01-10 16:28:14 +01:00
2016-01-10 16:28:14 +01:00
2016-10-09 20:13:48 +02:00
2016-01-11 21:51:11 +01:00
2016-08-13 13:08:57 +02:00
2015-11-30 10:58:46 -05:00
2016-01-30 17:44:13 +00:00
2016-01-30 17:44:13 +00:00
2016-02-02 18:06:13 -08:00
2016-01-30 17:44:13 +00:00
2016-01-31 17:09:38 +01:00
2016-01-31 17:09:38 +01:00
2016-01-31 17:09:38 +01:00
2015-12-26 20:29:22 -08:00
2016-09-05 01:01:35 +02:00
2016-02-07 09:26:15 -08:00
2016-01-28 10:31:41 +01:00
2016-01-28 10:31:41 +01:00
2016-01-11 21:51:11 +01:00
2016-01-30 13:38:16 +01:00
2015-12-07 16:10:51 +01:00
2016-01-11 21:51:11 +01:00
2016-01-18 19:56:37 +01:00
2016-01-31 15:44:11 -08:00
2015-12-05 21:11:52 +01:00
2015-12-05 21:11:52 +01:00
2016-09-05 01:01:35 +02:00
2016-03-26 21:52:47 +01:00
2016-02-01 01:36:44 +01:00
2015-11-20 08:20:13 -05:00
2016-01-28 17:24:53 +01:00
2016-08-13 13:08:57 +02:00
2016-10-09 20:13:48 +02:00
2016-01-11 21:51:11 +01:00
2016-01-10 12:49:35 +01:00
2016-01-12 09:23:38 +01:00
2016-01-28 00:08:40 +00:00
2015-12-21 11:14:02 +01:00
2016-01-27 00:08:23 +01:00
2016-01-30 13:31:44 +01:00
2015-12-22 12:54:23 +01:00
2015-12-07 09:25:02 +01:00
2016-01-11 21:51:11 +01:00
2016-01-20 16:41:19 -03:00
2016-01-11 21:51:11 +01:00
2016-01-28 19:49:48 -08:00