Christian Aurich Zanettini Martins
50c24913a4
gh-159399: Fix crash in codecs.encode() on a concurrently unregistered codec ( #159400 )
...
* gh-159399: Fix crash in codecs.encode() on a concurrently unregistered codec
In the free-threaded build, codec_getitem() released the CodecInfo tuple
returned by _PyCodec_Lookup() before taking a reference to the encoder
or decoder it returns. If another thread cleared the lookup cache in
between with codecs.unregister(), the tuple could hold the last
reference to the item, which was then freed before it was increfed.
Take the reference before releasing the tuple, as
codec_getitem_checked() already does.
* Remove the free-threading stress test
2026-10-21 09:52:44 -07:00
..
2026-10-20 15:33:36 +05:30
2022-10-17 12:01:00 +02:00
2026-03-24 17:47:55 +00:00
2026-10-20 21:34:23 -07:00
2021-03-23 20:47:40 +01:00
2026-05-23 08:03:52 -04:00
2026-05-23 08:03:52 -04:00
2026-05-23 08:03:52 -04:00
2026-10-05 04:47:04 +02:00
2026-09-23 19:56:53 -07:00
2026-03-09 10:37:23 -07:00
2026-09-23 19:56:53 -07:00
2026-10-20 15:33:36 +05:30
2026-09-10 22:58:27 +02:00
2026-09-23 22:08:56 +05:30
2026-10-01 16:20:45 +00:00
2026-09-24 10:47:59 +02:00
2026-08-13 00:12:39 +00:00
2026-10-20 13:15:57 -05:00
2026-10-16 20:24:12 -07:00
2026-10-21 09:52:44 -07:00
2026-10-19 13:02:04 -07:00
2026-10-12 21:37:55 -07:00
2024-02-02 13:50:51 +00:00
2024-04-02 20:35:52 +00:00
2026-08-15 11:00:03 +05:30
2026-06-16 16:56:37 +00:00
2026-04-01 18:34:55 +02:00
2025-06-13 16:45:21 -06:00
2026-06-23 16:31:47 -04:00
2026-09-30 05:22:37 +00:00
2023-09-02 16:50:18 +02:00
2017-12-12 13:55:04 +02:00
2023-10-04 22:50:29 +00:00
2026-07-27 15:05:40 +02:00
2023-10-04 22:50:29 +00:00
2026-09-11 15:35:34 +02:00
2023-09-08 17:54:45 +01:00
2026-09-08 15:26:48 +08:00
2026-10-07 20:31:27 +00:00
2026-10-01 16:20:45 +00:00
2026-10-07 20:31:27 +00:00
2026-10-19 09:10:15 +01:00
2026-09-02 23:26:04 +05:30
2026-09-16 18:58:59 +05:30
2025-08-06 14:33:28 +02:00
2026-09-24 16:29:48 +00:00
2026-10-20 21:32:19 -07:00
2024-07-22 12:08:27 -04:00
2026-10-11 16:01:50 +00:00
2026-10-01 16:20:45 +00:00
2026-10-12 19:56:53 +02:00
2026-10-16 10:49:53 +00:00
2024-11-12 15:59:19 +02:00
2026-10-03 15:37:58 +02:00
2017-11-28 17:56:10 +02:00
2026-10-16 10:49:53 +00:00
2026-09-27 19:00:22 +03:00
2023-12-06 15:09:22 +01:00
2026-10-13 13:35:19 +00:00
2025-11-26 14:12:49 +01:00
2025-05-25 20:19:29 +00:00
2026-10-19 22:56:57 +00:00
2026-01-16 09:11:58 +00:00
2026-10-19 12:17:16 -07:00
2026-10-19 19:30:32 -07:00
2026-09-26 13:00:10 -07:00
2026-05-05 09:29:07 +01:00
2026-05-12 15:42:44 +00:00
2026-06-01 17:56:16 +01:00
2026-04-10 17:58:17 +05:30
2026-10-16 20:11:09 -07:00
2026-10-13 23:53:38 +00:00
2026-04-02 13:54:21 +02:00
2022-10-07 11:49:53 -07:00
2023-09-03 18:54:27 +02:00
2024-07-22 12:08:27 -04:00
2026-07-06 10:41:47 +01:00
2026-09-30 14:37:24 +01:00
2026-10-01 12:15:51 +01:00
2026-10-01 16:20:45 +00:00
2026-10-01 12:15:51 +01:00
2026-07-22 10:17:47 +01:00
2026-04-22 14:31:19 -04:00
2026-09-24 12:52:54 +02:00
2026-09-18 17:04:21 -04:00
2026-09-18 17:04:21 -04:00
2026-10-01 14:58:55 +00:00
2024-11-07 16:37:41 +01:00
2022-01-13 09:46:04 +01:00
2026-02-21 12:42:13 +01:00
2026-10-16 10:49:53 +00:00
2021-10-15 19:45:34 +02:00
2026-10-19 10:16:36 +05:30
2026-07-21 14:11:22 +05:30
2023-09-01 18:36:53 +02:00
2026-09-18 14:09:09 +02:00
2026-09-30 05:22:37 +00:00
2026-09-24 15:06:56 +09:00
2026-10-13 13:01:17 +00:00
2026-10-18 11:54:19 +01:00
2026-07-06 16:50:15 +02:00
2026-10-20 20:06:55 +00:00
2014-07-25 21:52:14 +10:00
2026-05-21 17:06:52 +01:00
2026-10-05 20:56:24 +01:00
2025-12-06 22:37:34 +00:00
2026-05-05 09:18:04 +02:00
2026-05-05 09:18:04 +02:00
2026-05-05 09:18:04 +02:00
2026-09-30 14:37:24 +01:00
2025-11-05 11:12:56 -08:00
2026-09-16 18:58:59 +05:30
2026-05-06 09:50:24 -04:00
2025-03-17 09:19:04 +00:00
2026-10-18 11:54:19 +01:00
2026-10-20 10:10:10 -07:00
2026-07-25 00:33:29 +02:00
2024-10-13 20:59:41 +05:30
2026-09-17 16:34:50 +02:00
2025-11-06 16:10:39 +01:00
2024-03-13 23:53:32 +01:00
2026-10-05 18:44:28 +00:00
2026-08-30 13:04:55 +05:30
2026-07-21 14:11:22 +05:30
2025-01-17 16:42:27 +01:00
2025-04-29 12:56:20 +02:00
2026-10-09 22:25:44 +00:00