-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Normally this is not a problem but if _PyMem_FreeDelayed(NULL)
is called an (quite!) improbably high number of times in a single thread it can lead to memory exhaustion because the NULL is added to a queue. Fix is just to add a NULL check like _PyObject_XDecRefDelayed()
.
CPython versions tested on:
3.14
Operating systems tested on:
No response
Linked PRs
Metadata
Metadata
Assignees
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error