1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-07 06:43:02 +03:00

- tree.c: fixed #53388 with the provided patch

Daniel
This commit is contained in:
Daniel Veillard
2001-04-22 12:12:58 +00:00
parent 0680399c8d
commit e82a992bf5
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
Sun Apr 22 14:11:58 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* tree.c: fixed #53388 with the provided patch
Sun Apr 22 12:34:41 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* valid.c: Bjorn detected an invalid memory access. Fixed

2
tree.c
View File

@@ -2673,7 +2673,7 @@ xmlStaticCopyNode(xmlNodePtr node, xmlDocPtr doc, xmlNodePtr parent,
xmlNodePtr root = ret;
while (root->parent != NULL) root = root->parent;
xmlNewNs(root, ns->href, ns->prefix);
ret->ns = xmlNewNs(root, ns->href, ns->prefix);
}
} else {
/*