Commit 4e326a3a authored by zhouzhongyuan's avatar zhouzhongyuan Committed by Nick Wellnhofer

Fix potential null deref in xmlSchemaIDCFillNodeTables

Merge request !45
parent 5f1f455c
......@@ -23366,6 +23366,8 @@ xmlSchemaIDCFillNodeTables(xmlSchemaValidCtxtPtr vctxt,
* Get/create the IDC binding on this element for the IDC definition.
*/
bind = xmlSchemaIDCAcquireBinding(vctxt, matcher);
if (bind == NULL)
goto internal_error;
if (! WXS_ILIST_IS_EMPTY(bind->dupls)) {
dupls = (xmlSchemaPSVIIDCNodePtr *) bind->dupls->items;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment