Re: [xml] [BUG] xmlschemas.c - segmentation fault



On Mon, Aug 07, 2006 at 12:23:26PM +0200, Bertrand Fritsch wrote:
Hello,

libxml2 2.6.26

It seems that there is a bug in the xmlschemas.c file. The function 
xmlSchemaClearValidCtxt clears a xmlSchemaValidCtxt object without 
setting the nbIdcNodes member to 0. When the context is used a second 
time, some IDC nodes are cleared twice.

Attached is a proposed patch.

  Okay, that looks logical, applied and commited.

   thanks !

Daniel

-- 
Daniel Veillard      | Red Hat 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]