bugfix/BUG-1_empty_key_in_config_hangs_the_program #1
Reference in New Issue
Block a user
No description provided.
Delete Branch "bugfix/BUG-1_empty_key_in_config_hangs_the_program"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A line such as "=z" parsed into the pair ("", "z"). An empty value1 matches at every position and consumes nothing, so the scan in replace_line never advanced and the program looped forever, printing nothing and growing its output buffer until it was killed. Reject the entry while parsing, reporting the offending line the same way as a line with no "=" at all, and document the termination invariant the loop depends on.