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

Index: libxml2-2.9.7/xmlschemas.c
===================================================================
--- libxml2-2.9.7.orig/xmlschemas.c
+++ libxml2-2.9.7/xmlschemas.c
@@ -23550,7 +23550,7 @@ xmlSchemaIDCFillNodeTables(xmlSchemaVali
 			j++;
 		    } while (j < nbDupls);
 		}
-		if (nbNodeTable) {
+		if (bind->nbNodes) {
 		    j = 0;
 		    do {
 			if (nbFields == 1) {
@@ -23601,7 +23601,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