Andreas Rheinhardt
2d91ddd2df
avformat/rmdec: Fix potential crash on allocation failure
...
The RealMedia demuxer uses the priv_data of its streams to store a
structure containing an AVPacket. These packets are unreferenced in the
read_close function, yet said function simply presumed that the
priv_data has been successfully allocated. This implies that it mustn't
be called when an allocation of priv_data fails; but this can happen
since commit 35bbc1955a58ba74552c50d9161084644f00bbd3 if one has a
stream with multiple substreams (also exported as AVStream) and if
allocating the priv_data for one of these substreams fails.
This has been fixed by making sure that read_close can handle the case
in which priv_data has not been successfully allocated.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 5aafdb4e5fe3ca8a0d8b16498caf5899a8d68e2c)
2021-02-27 07:20:58 +01:00
..
2020-10-28 21:41:21 +01:00
2021-02-20 14:21:24 +01:00
2021-02-20 14:21:24 +01:00
2020-05-25 07:06:44 +02:00
2020-05-21 09:31:08 +02:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2020-05-25 05:38:15 +02:00
2020-05-31 00:55:12 +02:00
2020-11-08 00:26:11 +10:00
2021-02-02 14:18:20 +01:00
2020-06-15 17:25:46 +02:00
2020-11-08 00:16:49 +10:00
2021-02-20 14:21:24 +01:00
2021-02-02 14:18:21 +01:00
2020-06-15 17:25:46 +02:00
2020-05-25 13:11:36 +02:00
2021-02-02 14:18:21 +01:00
2020-07-01 19:00:19 +02:00
2020-07-01 19:00:19 +02:00
2020-05-23 01:40:05 +02:00
2021-02-27 07:20:58 +01:00
2020-07-01 18:59:27 +02:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2020-05-25 13:11:36 +02:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:20 +01:00
2020-05-25 13:11:36 +02:00
2021-02-02 14:18:21 +01:00
2020-05-25 13:11:36 +02:00
2020-05-07 19:33:35 +08:00
2020-06-01 18:58:04 +05:30
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2020-05-17 13:03:30 +01:00
2021-02-02 14:18:20 +01:00
2021-02-20 14:21:24 +01:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2020-05-25 11:59:45 +02:00
2020-05-25 11:59:45 +02:00
2020-05-25 11:59:45 +02:00
2021-02-20 14:21:24 +01:00
2020-05-10 22:32:34 +08:00
2021-02-02 14:18:21 +01:00
2020-05-25 13:11:36 +02:00
2021-02-02 14:18:21 +01:00
2020-05-07 23:12:24 +02:00
2021-02-27 07:20:56 +01:00
2020-06-15 05:35:07 +02:00
2020-05-28 11:18:53 +02:00
2020-05-28 11:18:53 +02:00
2020-05-25 13:11:36 +02:00
2020-05-21 22:45:21 +02:00
2020-05-25 13:11:36 +02:00
2021-02-02 14:18:21 +01:00
2021-02-20 14:21:24 +01:00
2020-05-25 07:06:44 +02:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2020-05-30 18:02:55 +02:00
2020-05-28 12:03:28 +02:00
2020-05-07 07:12:24 +08:00
2020-05-19 20:09:25 +02:00
2020-05-11 19:41:59 -03:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2020-10-28 21:41:04 +01:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2020-05-31 00:55:12 +02:00
2021-02-22 21:56:57 +01:00
2020-06-15 17:30:33 +02:00
2020-07-02 10:20:36 +02:00
2021-02-27 07:20:56 +01:00
2020-07-10 20:52:00 +02:00
2020-05-25 13:11:36 +02:00
2020-05-25 13:11:36 +02:00
2021-02-20 14:21:24 +01:00
2020-05-22 22:00:03 +03:00
2020-06-08 22:08:37 +02:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:20 +01:00
2020-05-21 09:31:08 +02:00
2021-02-22 22:00:29 +01:00
2020-05-31 18:43:02 +02:00
2020-06-15 17:25:47 +02:00
2021-02-02 14:18:21 +01:00
2020-05-23 05:43:42 +02:00
2021-02-20 14:21:24 +01:00
2021-02-02 14:18:21 +01:00
2021-02-22 21:55:42 +01:00
2020-07-01 19:00:19 +02:00
2021-02-02 14:18:21 +01:00
2021-02-20 14:21:24 +01:00
2020-05-05 19:35:38 +02:00
2021-02-02 14:18:21 +01:00
2020-06-14 22:02:34 +02:00
2020-05-23 19:07:20 +01:00
2020-05-09 16:18:39 +02:00
2020-05-31 00:52:08 +02:00
2020-05-28 12:04:26 +02:00
2020-06-15 17:25:46 +02:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2020-06-15 17:25:47 +02:00
2020-05-05 20:07:19 +02:00
2020-06-14 21:09:05 +02:00
2021-02-20 14:21:24 +01:00
2020-06-06 00:25:00 +02:00
2020-06-06 00:25:00 +02:00
2020-05-19 20:09:25 +02:00
2021-02-27 07:20:58 +01:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2020-05-25 13:11:36 +02:00
2020-05-25 13:11:36 +02:00
2020-05-25 13:11:36 +02:00
2020-06-02 22:25:11 +08:00
2020-05-25 13:11:36 +02:00
2020-06-02 22:25:11 +08:00
2021-02-20 14:21:24 +01:00
2020-05-25 13:11:36 +02:00
2020-05-25 13:11:36 +02:00
2021-02-02 14:18:22 +01:00
2020-06-15 17:30:28 +02:00
2020-07-10 20:52:00 +02:00
2021-02-02 14:18:21 +01:00
2020-05-23 07:06:54 +02:00
2021-02-22 22:00:15 +01:00
2021-02-02 14:18:20 +01:00
2021-02-02 14:18:22 +01:00
2020-07-09 12:35:39 +02:00
2020-05-25 13:11:36 +02:00
2021-02-02 14:18:22 +01:00
2020-06-15 17:30:32 +02:00
2020-05-25 13:11:36 +02:00
2020-06-15 17:30:32 +02:00
2020-05-25 13:11:36 +02:00
2020-06-15 17:30:32 +02:00
2021-02-02 14:18:20 +01:00
2020-05-21 09:31:08 +02:00
2021-02-02 14:18:21 +01:00
2020-06-04 10:52:42 +02:00
2020-06-14 22:02:34 +02:00
2020-05-25 13:11:36 +02:00
2020-05-25 13:11:36 +02:00
2020-05-25 13:11:36 +02:00
2020-05-25 13:11:36 +02:00
2020-05-25 13:11:36 +02:00
2021-02-02 14:18:22 +01:00
2020-05-21 05:30:26 +02:00
2020-12-30 23:45:03 +01:00
2020-09-08 20:15:23 +02:00
2021-02-02 14:18:21 +01:00
2020-06-08 22:49:04 +02:00
2021-02-22 21:59:42 +01:00
2020-06-15 17:30:33 +02:00
2021-02-02 14:18:21 +01:00
2021-02-20 14:21:24 +01:00
2020-05-10 22:32:34 +08:00
2021-02-02 14:18:20 +01:00
2020-05-23 07:15:35 +02:00
2021-02-22 21:57:27 +01:00
2020-06-15 17:30:33 +02:00
2021-02-20 14:21:24 +01:00
2021-02-02 14:18:20 +01:00
2021-02-02 14:18:21 +01:00