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




Frans Englich wrote:
On Monday 07 August 2006 10:23, 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.

Perhaps it affects this one? http://bugzilla.gnome.org/show_bug.cgi?id=350247


I'm not sure. To reproduce the issue that I reported, you have to valid at least two documents with the same schema context...

Bertrand.



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