Skip to content

bpo-31758: Prevent crashes when using an uninitialized _elementtree.XMLParser object #3997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 12, 2020

Conversation

orenmn
Copy link
Contributor

@orenmn orenmn commented Oct 14, 2017

In addition, add tests to test_xml_etree_c to make sure that the crashes are no more.

https://bugs.python.org/issue31758

Copy link

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re base needed

@scoder scoder merged commit 402e1cd into python:master Apr 12, 2020
@miss-islington
Copy link
Contributor

Thanks @orenmn for the PR, and @scoder for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-19485 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 12, 2020
…MLParser object (pythonGH-3997)

(cherry picked from commit 402e1cd)

Co-authored-by: Oren Milman <[email protected]>
scoder pushed a commit that referenced this pull request Apr 12, 2020
@miss-islington
Copy link
Contributor

Thanks @orenmn for the PR, and @scoder for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 12, 2020
…MLParser object (pythonGH-3997)

(cherry picked from commit 402e1cd)

Co-authored-by: Oren Milman <[email protected]>
@bedevere-bot
Copy link

GH-19486 is a backport of this pull request to the 3.7 branch.

@miss-islington
Copy link
Contributor

Thanks @orenmn for the PR, and @scoder for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 12, 2020
…MLParser object (pythonGH-3997)

(cherry picked from commit 402e1cd)

Co-authored-by: Oren Milman <[email protected]>
@bedevere-bot
Copy link

GH-19487 is a backport of this pull request to the 3.7 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants