Re: [xml] relaxng and xml schema problem (leak/crash)
- From: Daniel Veillard <veillard redhat com>
- To: Rob Richards <rrichards ctindustries net>
- Cc: "William M. Brack" <wbrack mmm com hk>, xml gnome org
- Subject: Re: [xml] relaxng and xml schema problem (leak/crash)
- Date: Mon, 13 Jun 2005 08:12:52 -0400
On Sat, Jun 11, 2005 at 07:43:00PM -0400, Rob Richards wrote:
Daniel Veillard wrote:
I looked quickly at Rob's bug. It's a problem in relaxng and while I'm
surprized it ain't caught by the existing regression tests, seems fairly
contained. I though I had a patch ready but I was wrong. I need a bit of
testing
but it should be fixeable easilly. I don't think it's directly related to
the streaming. The bug seems to be in xmlRelaxNGSchemaTypeCompare() when
there is an error, we free the base value passed from the to, which then
crash when we free the RNG schemas later. That should be relatively easy
to fix...
Hopefully it's as easy as you figure. The only reason I assumed it may
it was, single line fix, commited in CVS and tests added to the regression
suite. I'm just really surprized the problem never got noticed before.
thanks !
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]