1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-27 18:50:07 +03:00

Merge branch 'DEREF_AFTER_NULL.EX-in-xmlschemas.c' into 'master'

fixed DEREF_AFTER_NULL.EX in xmlschemas.c

See merge request GNOME/libxml2!302
This commit is contained in:
Anton Moryakov 2025-03-19 10:24:33 +00:00
commit 1e6bc1b76e

View File

@ -13780,7 +13780,7 @@ xmlSchemaIntersectWildcards(xmlSchemaParserCtxtPtr ctxt,
neg = completeWild->negNsSet->value;
if (xmlSchemaCloneWildcardNsConstraints(ctxt, completeWild, curWild) == -1)
return(-1);
} else
} else if (curWild->negNsSet != NULL)
neg = curWild->negNsSet->value;
/*
* Remove absent and negated.