bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

info hangs in string_in_line on malformed input file


From: Nathaniel Beaver
Subject: info hangs in string_in_line on malformed input file
Date: Sat, 23 May 2020 15:27:15 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

Steps to reproduce:

info -f ./bug.info.gz


Expected behavior:

info exits with an error such as "Cannot find node 'Top'".


Actual behavior:

info stuck in an infinite loop


Discussion:

The malformed input file bug.info.gz has a section separator and newline after "Node:", like this:

File: example.info,  Node:^_

This appears to make info unable to find the node name.


Version:

info (GNU texinfo) 6.5

(also reproducible with 6.7dev, git commit d5666eb167a9edd20ed3cc86f49a6d40a4d94134).

Sincerely,

Nathaniel Beaver

Attachment: bug.info.gz
Description: application/gzip

Attachment: example.info.gz
Description: application/gzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]