commit 8f58f89d37f14a9d8997b040610cbdbebfdfccc9 Author: Miroslav Bajtos <bajtos.miroslav.jr@gmail.com> Date: Fri Aug 7 17:22:12 2009 +0200 Bug 579729 – fix XSD schemas parsing crash * xmlschemas.c: a typo in XSD schema validation, where inherited bfminlen rewrote blength and caused SIGSEGV diff --git a/xmlschemas.c b/xmlschemas.c index ed3a531..9050684 100644 --- a/xmlschemas.c +++ b/xmlschemas.c @@ -17289,7 +17289,7 @@ xmlSchemaDeriveAndValidateFacets(xmlSchemaParserCtxtPtr pctxt, flength = bflength; if (flength) { if (! fminlen) - flength = bflength; + fminlen = bfminlen; if (fminlen) { /* (1.1) length >= minLength */ res = xmlSchemaCompareValues(flength->val, fminlen->val);