Staging
v0.5.1
Revision 1205afb3e10194fe22fa76385abb7e522144eb29 authored by Miss Islington (bot) on 01 May 2020, 23:06:23 UTC, committed by GitHub on 01 May 2020, 23:06:23 UTC

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
(cherry picked from commit 64224a4727321a8dd33e6f769edda401193ebef0)

Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
1 parent e058280
History
File Mode Size
Grammar -rw-r--r-- 9.6 KB
Tokens -rw-r--r-- 1.5 KB

back to top