Sebastian Pipping
8ea678d6d1
[3.10] gh-139400: Make sure that parent parsers outlive their subparsers in pyexpat (GH-139403) ( #139613 )
...
* gh-139400: Make sure that parent parsers outlive their subparsers in `pyexpat` (#139403 )
* Modules/pyexpat.c: Disallow collection of in-use parent parsers.
Within libexpat, a parser created via `XML_ExternalEntityParserCreate`
is relying on its parent parser throughout its entire lifetime.
Prior to this fix, is was possible for the parent parser to be
garbage-collected too early.
(cherry picked from commit 6edb2ddb5f3695cf4938979d645f31d7fba43ec8)
* Move news item to from section "Core and Builtins" to section "Security"
2025-10-07 00:34:14 +01:00
..
2023-03-24 13:40:32 +01:00
2023-02-04 12:09:29 -08:00
2021-10-01 07:16:37 -07:00
2023-01-17 11:53:45 -08:00
2022-07-11 05:39:09 -07:00
2022-10-28 12:13:44 +02:00
2022-07-08 01:44:09 +02:00
2021-05-02 09:47:45 +02:00
2021-03-25 00:47:21 +09:00
2023-11-06 15:46:20 +01:00
2024-03-07 00:02:55 +01:00
2025-09-28 14:47:31 +01:00
2021-06-25 08:46:23 -07:00
2022-12-06 18:40:30 +01:00
2022-05-28 13:48:25 -05:00
2021-06-17 11:19:44 +01:00
2021-10-14 21:23:39 +03:00
2023-03-23 18:10:34 -07:00
2020-11-04 16:33:55 +01:00
2021-09-30 01:02:11 +02:00
2022-10-07 12:30:39 -07:00
2021-04-30 12:46:15 +02:00
2022-07-07 04:41:06 -07:00
2022-08-04 06:15:01 -07:00
2021-06-17 11:19:44 +01:00
2024-03-07 00:02:55 +01:00
2022-09-07 04:50:15 -07:00
2021-09-03 21:13:00 -04:00
2022-06-22 10:48:14 +02:00
2020-06-22 17:39:32 +02:00
2021-10-03 20:03:49 +03:00
2020-12-01 09:56:42 +01:00
2022-07-27 05:28:26 -07:00
2021-06-17 11:19:44 +01:00
2021-09-22 01:33:59 +02:00
2020-09-07 10:48:44 +02:00
2022-06-22 10:48:14 +02:00
2022-11-06 06:44:28 -08:00
2022-05-01 16:09:50 -07:00
2021-06-17 11:19:44 +01:00
2021-05-04 21:39:09 -07:00
2020-09-09 12:28:48 +09:00
2022-11-03 12:18:50 +02:00
2023-06-05 18:07:30 +02:00
2023-06-05 18:07:30 +02:00
2025-04-03 18:26:17 +02:00
2021-04-26 15:01:40 +02:00
2020-05-19 13:22:16 +01:00
2022-06-26 03:45:00 -07:00
2020-12-01 10:37:39 +01:00
2023-08-22 20:24:40 +02:00
2022-12-20 15:50:42 +05:30
2022-05-16 18:54:47 -07:00
2022-02-11 12:25:25 +01:00
2023-01-11 21:02:02 +05:30
2021-10-07 01:55:18 -07:00
2022-01-13 20:32:40 -08:00
2024-09-04 17:57:40 +02:00
2021-04-30 12:46:15 +02:00
2022-11-06 06:38:26 -08:00
2021-09-22 01:33:59 +02:00
2022-08-26 22:53:47 -07:00
2024-02-06 19:53:23 +01:00
2022-03-20 14:46:52 -07:00
2023-02-26 14:56:10 +00:00
2022-11-06 22:05:20 -08:00
2020-10-19 16:30:02 -07:00
2021-10-07 01:55:18 -07:00
2022-05-04 03:23:29 -07:00
2021-10-20 10:41:35 -07:00
2022-06-20 16:09:55 +02:00
2021-10-07 01:55:18 -07:00
2020-11-18 23:47:32 -08:00
2021-10-01 05:58:37 -07:00
2022-12-05 17:58:30 +01:00
2024-07-22 13:48:50 +02:00
2021-10-22 11:22:01 -07:00
2020-11-16 16:16:10 +01:00
2022-10-31 19:47:29 -07:00
2021-05-27 01:10:39 -07:00
2021-06-17 11:19:44 +01:00
2020-06-12 11:26:00 +09:00
2022-07-31 11:19:09 +03:00
2024-03-27 16:24:34 +01:00
2024-09-04 19:26:29 +02:00
2021-11-25 03:53:07 -08:00
2020-11-18 23:47:32 -08:00
2025-10-07 00:34:14 +01:00
2022-10-26 16:28:40 -07:00
2021-02-18 16:26:20 +01:00
2022-01-21 11:02:25 +02:00
2021-04-22 00:52:52 +02:00
2021-10-07 01:55:18 -07:00
2021-05-27 01:10:39 -07:00
2021-05-27 01:10:39 -07:00
2023-03-08 13:51:13 +05:30
2024-01-17 14:49:40 +01:00
2021-01-06 20:43:06 +01:00
2020-11-19 10:54:03 +01:00
2020-12-01 10:37:39 +01:00
2022-03-21 04:30:58 -07:00
2021-05-03 10:43:00 +03:00
2022-10-13 05:05:18 -07:00
2022-11-22 12:33:32 +01:00
2020-11-16 16:08:05 +01:00
2023-02-06 02:32:58 -08:00
2022-06-10 04:16:57 -07:00
2021-05-31 12:23:13 +01:00
2022-06-10 04:16:57 -07:00
2021-11-26 16:42:00 -08:00