diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-10-26 21:53:55 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-10-26 21:53:55 +0000 |
commit | 95ddcd326694de324a41a73d407d72604dd746d1 (patch) | |
tree | e11a747dddd3f452dd28eb9d18b150adb6ceb419 /valid.c | |
parent | 03a53c34db279cbe4a305d58969beb1f26ff3d19 (diff) | |
download | libxml2-95ddcd326694de324a41a73d407d72604dd746d1.tar.gz |
applied fixes for a couple of potential security problems more fixes on
* nanoftp.c: applied fixes for a couple of potential security problems
* tree.c valid.c xmllint.c: more fixes on the string interning checks
Daniel
Diffstat (limited to 'valid.c')
-rw-r--r-- | valid.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -6697,8 +6697,7 @@ xmlValidGetValidElements(xmlNode *prev, xmlNode *next, const xmlChar **names, /* * Creates a dummy node and insert it into the tree */ - test_node = xmlNewNode (NULL, BAD_CAST "<!dummy?>"); - test_node->doc = ref_node->doc; + test_node = xmlNewDocNode (ref_node->doc, NULL, BAD_CAST "<!dummy?>", NULL); test_node->parent = parent; test_node->prev = prev; test_node->next = next; |