[issue19815] ElementTree segmentation fault in expat_start_ns_handler

Vajrasky Kok report at bugs.python.org
Thu Nov 28 08:18:28 CET 2013


Vajrasky Kok added the comment:

Here is the patch (by Christian Heimes) with unit test (by me).

Apparently the namespace handlers (start-ns and end-ns) got problem with empty namespace. But they (start-ns and end-ns) must be combined together to create this problem. start-ns handler only will not create this problem.

----------
nosy: +vajrasky
Added file: http://bugs.python.org/file32880/fix_xml_etree_with_empty_namespace.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19815>
_______________________________________


More information about the Python-bugs-list mailing list