diff options
author | Zackery Spytz <zspytz@gmail.com> | 2018-10-26 05:37:07 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-26 05:37:07 (GMT) |
commit | e131c7cf7893cdddc74caba2ca649b600dc6760b (patch) | |
tree | 75420f22b91c7248b2cd55590c24be88f4045400 /Lib/SocketServer.py | |
parent | 4a59c9699ca8688359c460f98127a12e2db6e63b (diff) | |
download | cpython-e131c7cf7893cdddc74caba2ca649b600dc6760b.zip cpython-e131c7cf7893cdddc74caba2ca649b600dc6760b.tar.gz cpython-e131c7cf7893cdddc74caba2ca649b600dc6760b.tar.bz2 |
[2.7] Fix error handling bugs in _elementtree.c. (GH-10060) (GH-10080)
Don't leak a reference if PyDict_Update() fails, check the
PyList_New() call in treebuilder_new(), and properly handle failures
in xmlparser().
(cherry picked from commit 9f3ed3e213b30059087d059a7d1d3b2527fa8654)
Diffstat (limited to 'Lib/SocketServer.py')
0 files changed, 0 insertions, 0 deletions