diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-09-18 12:29:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-18 12:29:37 (GMT) |
commit | e727d41ffcd91b21ce82026ec8c8381d34a16209 (patch) | |
tree | 6fe96261c5baf6fe58a218c6c1d3649d931c8606 /Modules/expat/pyexpatns.h | |
parent | 9b47af65375fab9318e88ccb061394a36c8c6c33 (diff) | |
download | cpython-e727d41ffcd91b21ce82026ec8c8381d34a16209.zip cpython-e727d41ffcd91b21ce82026ec8c8381d34a16209.tar.gz cpython-e727d41ffcd91b21ce82026ec8c8381d34a16209.tar.bz2 |
bpo-31499, xml.etree: Fix xmlparser_gc_clear() crash (#3641)
* bpo-31499, xml.etree: Fix xmlparser_gc_clear() crash
xml.etree: xmlparser_gc_clear() now sets self.parser to NULL to prevent a
crash in xmlparser_dealloc() if xmlparser_gc_clear() was called previously
by the garbage collector, because the parser was part of a reference cycle.
Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Modules/expat/pyexpatns.h')
0 files changed, 0 insertions, 0 deletions