]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix error handling bugs in _elementtree.c. (GH-10060)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 23 Oct 2018 19:52:57 +0000 (12:52 -0700)
committerGitHub <noreply@github.com>
Tue, 23 Oct 2018 19:52:57 +0000 (12:52 -0700)
commitb1b9ee824f1c7a8a8fc7fa0c6864b7eebc769d4d
tree27a5f5c49451dd3728a0db266d5f0651adb66804
parent69d0372fc9c5a600ecdfb7dd80f852b26c6ed087
Fix error handling bugs in _elementtree.c. (GH-10060)

References could leak, NULL could be dereferenced, and the Expat parser could
be double freed when some errors raised.
(cherry picked from commit 9f3ed3e213b30059087d059a7d1d3b2527fa8654)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Modules/_elementtree.c