New submission from paul: # Program received signal SIGSEGV, Segmentation fault. # 0x4068565c in xmlparser_setevents (self=0x4064b13c, args=([], [<S2 at remote 0x4064b0e4>])) # at /home/p/Python-3.4.1/Modules/_elementtree.c:3562 # 3562 if (PyUnicode_Check(event_name_obj)) { # (gdb) print *event_name_obj # $6 = {_ob_next = 0xdbdbdbdb, _ob_prev = 0xdbdbdbdb, ob_refcnt = -606348325, ob_type = 0xdbdbdbdb} # # # "event_name_obj" is deleted inside a custom destructor. Use after free.
---------- files: poc_xml_setevents2.py messages: 242321 nosy: pkt priority: normal severity: normal status: open title: Use after free in xmlparser_setevents (2) type: crash versions: Python 3.4 Added file: http://bugs.python.org/file39255/poc_xml_setevents2.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24104> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com