Files
FFmpeg/libavcodec
Andreas Rheinhardt 84ac35ecb8 avcodec/mjpegenc: Fix segfault when freeing incomplete context
When allocating the MJpegContext fails (or if the dimensions run afoul
of the 65500x65500 limit), an attempt to free a subbuffer of said
context leads to a segfault in ff_mjpeg_encode_close().
Seems to be a regression since 467d9e27e0.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-03-31 14:37:05 +02:00
..
2021-02-27 17:09:44 +01:00
2021-03-22 02:43:04 +01:00
2021-01-01 15:25:48 +01:00
2021-01-01 15:25:48 +01:00
2021-03-05 19:45:00 +02:00
2020-10-15 22:53:56 +02:00
2016-03-28 14:13:17 -08:00
2020-12-08 17:51:48 +01:00
2020-12-08 17:51:47 +01:00
2019-06-26 21:25:10 +02:00
2021-03-09 13:41:22 +01:00
2020-06-10 12:36:44 +02:00
2020-08-26 21:13:38 +02:00
2020-08-26 21:13:38 +02:00
2021-02-27 17:09:44 +01:00
2021-03-22 02:43:04 +01:00
2021-03-01 06:10:44 +01:00
2020-12-08 17:51:44 +01:00
2021-03-01 17:36:42 +01:00
2021-03-01 17:36:42 +01:00
2021-02-09 15:01:34 +01:00
2019-08-11 19:13:21 +02:00
2021-03-22 02:43:04 +01:00
2021-03-22 02:43:04 +01:00
2020-03-12 20:26:48 +00:00
2021-03-09 13:41:22 +01:00
2016-01-28 10:31:41 +01:00
2020-02-22 00:15:43 +01:00
2020-11-12 15:55:16 +01:00
2021-03-08 19:19:19 +01:00
2021-03-09 13:41:22 +01:00
2021-01-08 05:05:10 +01:00
2021-03-22 02:43:04 +01:00
2020-03-22 11:55:44 -03:00
2021-01-21 17:13:54 +00:00
2021-01-21 17:13:54 +00:00
2021-01-21 17:13:54 +00:00
2020-06-05 18:14:17 +02:00
2020-11-24 11:35:03 +01:00
2020-06-14 18:20:37 +02:00
2020-06-15 04:22:28 +02:00
2021-03-01 06:10:44 +01:00
2021-03-22 02:43:04 +01:00
2016-07-27 10:19:40 +03:00
2021-03-08 09:31:04 +01:00
2020-07-20 18:41:09 +02:00
2021-03-08 19:19:19 +01:00
2021-03-09 13:41:22 +01:00
2020-12-31 11:49:43 +01:00
2017-02-21 00:40:20 +01:00
2020-11-24 09:38:35 +01:00
2019-12-10 16:09:14 +01:00
2021-03-22 02:43:04 +01:00
2020-01-11 23:31:18 +01:00
2020-12-08 17:51:46 +01:00
2020-12-08 17:51:47 +01:00
2021-02-04 17:26:06 +01:00
2020-05-12 01:00:28 +02:00
2020-11-11 18:36:09 +01:00
2020-05-26 10:52:12 +01:00
2020-05-26 10:52:12 +01:00
2021-01-01 15:25:48 +01:00
2021-01-01 15:25:48 +01:00
2021-03-01 17:36:16 +01:00
2021-03-09 13:41:22 +01:00
2021-03-09 13:41:22 +01:00
2020-05-30 18:02:55 +02:00
2021-02-02 14:29:33 +01:00
2012-06-29 20:43:30 +02:00
2019-10-22 10:51:42 +08:00
2014-02-21 16:57:26 -03:00
2021-03-22 02:43:04 +01:00
2021-03-22 02:43:04 +01:00
2021-03-09 13:41:22 +01:00
2021-03-22 02:43:04 +01:00
2017-07-26 06:13:05 +07:00
2017-07-11 13:22:02 +07:00
2021-03-22 02:43:04 +01:00
2021-03-29 22:19:39 +02:00
2017-01-16 10:24:01 +01:00
2021-03-22 02:43:04 +01:00
2020-11-24 09:38:35 +01:00
2020-01-13 23:26:25 +00:00
2020-07-20 18:41:09 +02:00
2020-12-08 17:51:44 +01:00
2021-03-22 02:43:04 +01:00
2021-03-05 19:45:00 +02:00
2021-03-05 19:45:00 +02:00
2020-11-02 22:57:23 +00:00
2020-01-11 23:31:18 +01:00
2018-04-25 22:07:20 +02:00
2021-03-09 13:41:22 +01:00
2021-01-25 00:18:47 +01:00
2021-01-01 15:25:48 +01:00
2020-04-16 15:05:07 -03:00
2020-10-23 10:37:04 +02:00
2020-05-23 07:07:36 +02:00
2017-01-20 13:58:41 +01:00