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

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

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 Veillard      | Red Hat
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]