Paulo Henrique Silva
eacc074395
bpo-40071: Fix potential crash in _functoolsmodule.c (GH-19273)
...
Changes on 7dd549eb08 made _functools compatible with
PEP-489 and we could have multiple modules instances loaded.
But, right now there is no way to make `kwd_mark` global into
a per module instance variable. kwd_mark is used on lru_cache_new
which does not have a reference to a PyModule*, necessary to use
PyModule_GetState.
PEP-573 will solve this problem and will allow us to move the global
state to per-module data and properly clear the state when unloading
a module instance.
This change temporarily disable cleaning of kwd_mark to avoid NULL
pointer dereference if we clear kwd_mark and other module instances
still alive use it.
2020-04-01 17:06:21 +02:00
..
2020-03-24 23:08:51 +01:00
2020-03-24 23:26:44 -05:00
2020-02-29 20:07:48 +01:00
2020-03-25 19:27:36 +01:00
2020-02-01 01:25:59 +01:00
2020-02-07 09:17:07 +01:00
2020-03-21 15:53:28 +02:00
2019-06-03 20:40:15 +02:00
2020-02-27 23:05:02 -08:00
2020-03-24 23:08:51 +01:00
2020-03-09 15:12:41 +02:00
2019-10-12 20:14:11 +01:00
2020-03-30 16:35:38 +02:00
2020-03-25 21:23:53 +01:00
2020-03-24 23:08:51 +01:00
2020-02-11 03:16:38 -08:00
2020-03-22 17:17:34 +01:00
2020-02-17 14:49:26 +01:00
2020-02-17 10:11:34 +01:00
2020-03-24 23:08:51 +01:00
2020-03-16 14:15:01 +01:00
2020-03-24 23:08:51 +01:00
2020-03-24 23:08:51 +01:00
2020-02-17 11:09:15 +01:00
2020-03-29 16:12:11 +02:00
2020-04-01 17:06:21 +02:00
2020-02-17 11:09:15 +01:00
2020-03-16 14:15:01 +01:00
2020-03-18 15:29:34 +01:00
2020-03-27 11:59:59 +01:00
2020-03-19 10:11:33 -07:00
2020-03-13 16:39:12 +01:00
2020-03-24 23:26:44 -05:00
2020-03-25 03:18:47 +01:00
2020-03-24 23:08:51 +01:00
2020-03-16 14:15:01 +01:00
2020-03-24 23:08:51 +01:00
2020-03-16 14:15:01 +01:00
2020-02-17 11:09:15 +01:00
2020-02-17 11:09:15 +01:00
2019-08-21 15:27:33 -07:00
2020-03-16 16:10:21 +01:00
2020-03-24 06:01:13 -07:00
2020-02-23 22:40:43 -08:00
2020-03-14 15:59:27 +09:00
2020-03-13 13:07:31 +01:00
2020-03-17 18:09:46 +01:00
2020-03-18 23:33:57 +00:00
2020-02-17 11:09:15 +01:00
2020-03-25 19:52:02 +01:00
2020-03-31 14:43:47 +02:00
2020-03-24 18:31:19 +01:00
2020-03-24 23:26:44 -05:00
2020-03-25 19:52:02 +01:00
2020-03-04 15:52:15 +01:00
2020-03-17 18:09:46 +01:00
2020-03-19 10:11:33 -07:00
2020-03-24 23:26:44 -05:00
2020-02-12 22:54:42 +01:00
2020-03-24 23:26:44 -05:00
2020-02-13 07:47:42 +00:00
2020-02-11 17:46:57 +01:00
2020-03-10 09:53:09 +01:00
2020-03-16 14:15:01 +01:00
2019-05-06 12:56:50 -04:00
2020-03-23 13:14:39 -07:00
2019-10-02 23:51:20 +02:00
2020-03-31 16:33:22 +02:00
2020-02-12 20:53:01 -08:00
2019-10-21 09:31:46 +03:00
2020-03-14 15:48:56 +02:00
2020-03-24 23:08:51 +01:00
2020-02-17 11:09:15 +01:00
2020-03-24 18:22:10 +01:00
2020-03-16 14:15:01 +01:00
2020-02-11 17:46:57 +01:00
2020-03-16 18:16:32 +01:00
2020-02-13 07:47:42 +00:00
2020-03-16 14:15:01 +01:00
2020-02-12 22:54:42 +01:00
2020-02-07 09:17:07 +01:00
2020-02-17 11:09:15 +01:00
2020-02-17 11:09:15 +01:00
2020-03-26 22:28:11 +01:00
2020-03-31 12:38:53 +01:00
2019-10-13 02:03:54 +01:00
2019-02-18 15:26:37 +02:00
2019-06-13 02:16:41 +02:00
2020-02-13 07:47:42 +00:00
2020-03-16 14:15:01 +01:00
2020-03-23 22:41:40 -05:00
2020-03-10 20:41:34 -07:00
2020-03-17 17:38:12 +01:00
2020-03-10 20:41:34 -07:00
2019-04-09 11:19:46 -07:00
2020-02-17 11:09:15 +01:00
2020-02-17 11:09:15 +01:00
2019-05-30 19:13:39 -07:00
2020-03-16 14:15:01 +01:00