diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-09-18 05:48:23 -0700 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2017-09-18 05:48:23 -0700 |
| commit | 8afd7ab12d7f8915b549cf04af384b495ec73d22 (patch) | |
| tree | a52757a147edae91845e1cf4d82b75d3eb931069 /Python/importdl.c | |
| parent | 84c89ef4e5086e71e3d9ee65cd3620bf8174c9ac (diff) | |
| download | cpython-git-8afd7ab12d7f8915b549cf04af384b495ec73d22.tar.gz | |
[3.6] bpo-31499, xml.etree: Fix xmlparser_gc_clear() crash (GH-3641) (#3645)
* 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>
(cherry picked from commit e727d41ffcd91b21ce82026ec8c8381d34a16209)
Diffstat (limited to 'Python/importdl.c')
0 files changed, 0 insertions, 0 deletions
