Fix several CVE: CVE-2024-56171, CVE-2025-24928, CVE-2025-32414

This commit is contained in:
2025-06-13 12:30:26 +02:00
parent 66b22f147f
commit ee90a418d6
4 changed files with 69 additions and 2 deletions

View File

@ -0,0 +1,18 @@
--- xmlschemas.c.orig 2024-07-24 16:00:51.000000000 +0200
+++ xmlschemas.c 2025-06-13 12:28:51.821977000 +0200
@@ -23672,6 +23672,7 @@
}
if (xmlSchemaItemListAdd(bind->dupls, bind->nodeTable[j]) == -1)
goto internal_error;
+ dupls = (xmlSchemaPSVIIDCNodePtr *) bind->dupls->items;
/*
* Remove the duplicate entry from the IDC node-table.
*/
@@ -23888,6 +23889,7 @@
goto internal_error;
}
xmlSchemaItemListAdd(parBind->dupls, parNode);
+ dupls = (xmlSchemaPSVIIDCNodePtr *) parBind->dupls->items;
} else {
/*
* Add the node-table entry (node and key-sequence) of