mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
fixing bug 118559
This commit is contained in:
@ -2530,7 +2530,7 @@ xmlParserAddNodeInfo(xmlParserCtxtPtr ctxt,
|
||||
unsigned long pos;
|
||||
|
||||
/* Find pos and check to see if node is already in the sequence */
|
||||
pos = xmlParserFindNodeInfoIndex(&ctxt->node_seq, (const xmlNodePtr)
|
||||
pos = xmlParserFindNodeInfoIndex(&ctxt->node_seq, (xmlNodePtr)
|
||||
info->node);
|
||||
if (pos < ctxt->node_seq.length
|
||||
&& ctxt->node_seq.buffer[pos].node == info->node) {
|
||||
|
Reference in New Issue
Block a user