mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-15 23:24:06 +03:00
Fix unintended fall-through in xmlNodeAddContentLen
This commit is contained in:
parent
d8f05db8f6
commit
2464652537
7
tree.c
7
tree.c
@ -5912,10 +5912,11 @@ xmlNodeAddContentLen(xmlNodePtr cur, const xmlChar *content, int len) {
|
||||
cur->content = xmlStrncatNew(cur->content, content, len);
|
||||
cur->properties = NULL;
|
||||
cur->nsDef = NULL;
|
||||
break;
|
||||
}
|
||||
cur->content = xmlStrncat(cur->content, content, len);
|
||||
} else {
|
||||
cur->content = xmlStrncat(cur->content, content, len);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case XML_DOCUMENT_NODE:
|
||||
case XML_DTD_NODE:
|
||||
case XML_HTML_DOCUMENT_NODE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user