1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

applying patch from bug #60757 this should close it Daniel

* parserInternals.c: applying patch from bug #60757 this
  should close it
Daniel
This commit is contained in:
Daniel Veillard
2001-09-21 09:47:08 +00:00
parent c0631a608f
commit b1d62871db
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Sep 21 11:45:53 CEST 2001 Daniel Veillard <daniel@veillard.com>
* parserInternals.c: applying patch from bug #60757 this
should close it
Thu Sep 20 15:54:29 CEST 2001 Daniel Veillard <daniel@veillard.com> Thu Sep 20 15:54:29 CEST 2001 Daniel Veillard <daniel@veillard.com>
* catalog.c xmlcatalog.c: removed a couple of warning * catalog.c xmlcatalog.c: removed a couple of warning

View File

@ -2392,7 +2392,7 @@ const xmlParserNodeInfo* xmlParserFindNodeInfo(const xmlParserCtxt* ctx,
/* Find position where node should be at */ /* Find position where node should be at */
pos = xmlParserFindNodeInfoIndex(&ctx->node_seq, node); pos = xmlParserFindNodeInfoIndex(&ctx->node_seq, node);
if ( ctx->node_seq.buffer[pos].node == node ) if (pos < ctx->node_seq.length && ctx->node_seq.buffer[pos].node == node)
return &ctx->node_seq.buffer[pos]; return &ctx->node_seq.buffer[pos];
else else
return NULL; return NULL;