File libxml2-CVE-2025-32415.patch of Package libxml2.39592

Index: libxml2-2.9.14/xmlschemas.c
===================================================================
--- libxml2-2.9.14.orig/xmlschemas.c
+++ libxml2-2.9.14/xmlschemas.c
@@ -23618,7 +23618,7 @@ xmlSchemaIDCFillNodeTables(xmlSchemaVali
 			j++;
 		    } while (j < nbDupls);
 		}
-		if (nbNodeTable) {
+		if (bind->nbNodes) {
 		    j = 0;
 		    do {
 			if (nbFields == 1) {
@@ -23669,7 +23669,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
openSUSE Build Service is sponsored by