mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-27 14:03:36 +03:00
Fix potential null deref in xmlSchemaIDCFillNodeTables
Merge request !45
This commit is contained in:
parent
5f1f455c2f
commit
4e326a3aa9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user