summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGregory Szorc <gregory.szorc@gmail.com>2020-05-01 18:07:54 (GMT)
committerGitHub <noreply@github.com>2020-05-01 18:07:54 (GMT)
commit64224a4727321a8dd33e6f769edda401193ebef0 (patch)
tree92a3bab10fdd5f9b75cae94339917f9d78b32bac /Doc
parent831d58d7865cb98fa09227dc614f4f3ce6af968b (diff)
downloadcpython-64224a4727321a8dd33e6f769edda401193ebef0.zip
cpython-64224a4727321a8dd33e6f769edda401193ebef0.tar.gz
cpython-64224a4727321a8dd33e6f769edda401193ebef0.tar.bz2
bpo-40412: Nullify inittab_copy during finalization (GH-19746)
Otherwise we leave a dangling pointer to free'd memory. If we then initialize a new interpreter in the same process and call PyImport_ExtendInittab, we will (likely) crash when calling PyMem_RawRealloc(inittab_copy, ...) since the pointer address is bogus. Automerge-Triggered-By: @brettcannon
Diffstat (limited to 'Doc')
0 files changed, 0 insertions, 0 deletions