commit | 8f58f89d37f14a9d8997b040610cbdbebfdfccc9 | [log] [tgz] |
---|---|---|
author | Miroslav Bajtos <bajtos.miroslav.jr@gmail.com> | Fri Aug 07 17:22:12 2009 +0200 |
committer | Daniel Veillard <veillard@redhat.com> | Fri Aug 07 17:22:12 2009 +0200 |
tree | 2de7c021322ce3dbe817ad99238a4bbcec832926 | |
parent | 446e126de5315702f1f9d04614af7aca42f36143 [diff] [blame] |
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 @@ flength = bflength; if (flength) { if (! fminlen) - flength = bflength; + fminlen = bfminlen; if (fminlen) { /* (1.1) length >= minLength */ res = xmlSchemaCompareValues(flength->val, fminlen->val);