[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7912] build_tags_and_nodes call skip_node_separator
From: |
gavinsmith0123 |
Subject: |
[7912] build_tags_and_nodes call skip_node_separator |
Date: |
Sun, 9 Jul 2017 11:55:59 -0400 (EDT) |
Revision: 7912
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7912
Author: gavin
Date: 2017-07-09 11:55:59 -0400 (Sun, 09 Jul 2017)
Log Message:
-----------
build_tags_and_nodes call skip_node_separator
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/nodes.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2017-07-09 15:12:16 UTC (rev 7911)
+++ trunk/ChangeLog 2017-07-09 15:55:59 UTC (rev 7912)
@@ -1,5 +1,11 @@
2017-07-09 Gavin Smith <address@hidden>
+ * info/nodes.c (build_tags_and_nodes): Call 'skip_node_separator'
+ in order not to start reading the tag table in the middle of an
+ "Indirect:" string.
+
+2017-07-09 Gavin Smith <address@hidden>
+
* info/nodes.c (info_load_file): If calling
'build_tags_and_nodes' didn't set the 'tags' array for the file
buffer, fail to load the file.
Modified: trunk/info/nodes.c
===================================================================
--- trunk/info/nodes.c 2017-07-09 15:12:16 UTC (rev 7911)
+++ trunk/info/nodes.c 2017-07-09 15:55:59 UTC (rev 7912)
@@ -129,6 +129,7 @@
return;
/* Skip "Indirect:" line. */
+ position += skip_node_separator (file_buffer->contents + position);
position += strlen (INDIRECT_TABLE_LABEL);
position += strspn (file_buffer->contents + position, "\r\n");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7912] build_tags_and_nodes call skip_node_separator,
gavinsmith0123 <=