summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-22 16:32:57 +0100
committerGitHub <noreply@github.com>2018-11-22 16:32:57 +0100
commit2cf5d32fd9e61488e8b0be55a2e92a752ba8b06b (patch)
tree78802c10dc7d34e08de079d89a2b5f42464f1f9b /Python/import.c
parent9a0d7a7648547ffb77144bf2480155f6d7940dea (diff)
downloadcpython-git-2cf5d32fd9e61488e8b0be55a2e92a752ba8b06b.tar.gz
bpo-9263: Fix _PyObject_Dump() for freed object (#10661)
If _PyObject_Dump() detects that the object is freed, don't try to dump it (exit immediately). Enhance also _PyObject_IsFreed(): it now detects if the pointer itself looks like freed memory.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions