]> granicus.if.org Git - python/commit
Fix error handling bugs in _elementtree.c. (GH-10060)
authorZackery Spytz <zspytz@gmail.com>
Tue, 23 Oct 2018 19:28:06 +0000 (13:28 -0600)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 23 Oct 2018 19:28:06 +0000 (22:28 +0300)
commit9f3ed3e213b30059087d059a7d1d3b2527fa8654
tree550b4aaa4b449f074832553262ab3696ad901df8
parent82af0b63b07aa8d92b50098e382b458143cfc677
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.
Modules/_elementtree.c