23 lines
619 B
Diff
23 lines
619 B
Diff
|
|
Index: libxml2-2.11.6/xmlschemas.c
|
||
|
|
===================================================================
|
||
|
|
--- libxml2-2.11.6.orig/xmlschemas.c
|
||
|
|
+++ libxml2-2.11.6/xmlschemas.c
|
||
|
|
@@ -23632,7 +23632,7 @@ xmlSchemaIDCFillNodeTables(xmlSchemaVali
|
||
|
|
j++;
|
||
|
|
} while (j < nbDupls);
|
||
|
|
}
|
||
|
|
- if (nbNodeTable) {
|
||
|
|
+ if (bind->nbNodes) {
|
||
|
|
j = 0;
|
||
|
|
do {
|
||
|
|
if (nbFields == 1) {
|
||
|
|
@@ -23683,7 +23683,7 @@ xmlSchemaIDCFillNodeTables(xmlSchemaVali
|
||
|
|
|
||
|
|
next_node_table_entry:
|
||
|
|
j++;
|
||
|
|
- } while (j < nbNodeTable);
|
||
|
|
+ } while (j < bind->nbNodes);
|
||
|
|
}
|
||
|
|
/*
|
||
|
|
* If everything is fine, then add the IDC target-node to
|