Re: [xml] open libxml2 crash bugs in lxml's bug tracker
- From: Daniel Veillard <veillard redhat com>
- To: Stefan Behnel <stefan_ml behnel de>
- Cc: xml <xml gnome org>
- Subject: Re: [xml] open libxml2 crash bugs in lxml's bug tracker
- Date: Mon, 27 Aug 2012 16:27:42 +0800
On Mon, Jul 02, 2012 at 10:49:13PM +0200, Stefan Behnel wrote:
Hi,
lxml's bug tracker currently holds two user code triggered crash bugs for
libxml2:
https://bugs.launchpad.net/lxml/+bug/1009118
-> segfault with XPath expression with unknown namespace and nested
function calls
that one is not too hard, I have a good fix for it:
http://git.gnome.org/browse/libxml2/commit/?id=8880170e2187d2041c81418711250841d264af02
https://bugs.launchpad.net/lxml/+bug/502959
-> segfault when parsing docbook XML with several external entities
I haven't managed so far to take a closer look (except for reproducing them
with a stock lxml), so I'm dumping them here for now (sorry).
that is way more complex, I'm still pulling hairs about it :-(
I can reproduce it if I remove my local docbook catalogs and run
something like
thinkpad:~/XML/diveintopython-5.4/xml -> ../../xmllint --loaddtd --noout --noent diveintopython.xml
this has to do with entities using entities and failures among them.
if there is no failure because the DocBook DTD can be found locally
it goes through without troubles.
There's also a libxslt bug that I just posted on the ML over there.
I'm not sure i looked yet, i will try to adress this.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]