diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-11-22 15:32:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-22 15:32:57 (GMT) |
commit | 2cf5d32fd9e61488e8b0be55a2e92a752ba8b06b (patch) | |
tree | 78802c10dc7d34e08de079d89a2b5f42464f1f9b /Include | |
parent | 9a0d7a7648547ffb77144bf2480155f6d7940dea (diff) | |
download | cpython-2cf5d32fd9e61488e8b0be55a2e92a752ba8b06b.zip cpython-2cf5d32fd9e61488e8b0be55a2e92a752ba8b06b.tar.gz cpython-2cf5d32fd9e61488e8b0be55a2e92a752ba8b06b.tar.bz2 |
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 'Include')
0 files changed, 0 insertions, 0 deletions