etree.iterparse produces segfault when html=True and listening for 'start' events
Bug #903782 reported by
Johannes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Fix Released
|
Critical
|
scoder |
Bug Description
lxml.etree: (2, 3, 0, 0)
libxml used: (2, 7, 8)
libxml compiled: (2, 7, 8)
libxslt used: (1, 1, 26)
libxslt compiled: (1, 1, 26)
Platforms: Linux (Windows is fine)
Code that reproduces issue attached.
The gist of it:
from StringIO import StringIO
from lxml import etree
fileh = StringIO(
context = etree.iterparse
event, el = context.next()
summary: |
- etree.iterparse segfault when html=True and listening for 'start' events + etree.iterparse produces segfault when html=True and listening for + 'start' events |
description: | updated |
Changed in lxml: | |
milestone: | none → 2.3.x |
To post a comment you must log in.
Thanks for the report and the test code. Made it easy to reproduce the crash. I'll look into it.