diff options
author | 2019-03-19 16:26:08 +0000 | |
---|---|---|
committer | 2019-03-19 16:26:08 +0000 | |
commit | 4f2ec2ae5810c381eebe5bda1abb21eaf53144dc (patch) | |
tree | f4fc89b618ac45dc39965f673d63f70d06ca30de /regress/roff/nr | |
parent | 5e859b1a66b94c8cf3ee617d521d7031687d509c (diff) | |
download | mandoc-4f2ec2ae5810c381eebe5bda1abb21eaf53144dc.tar.gz mandoc-4f2ec2ae5810c381eebe5bda1abb21eaf53144dc.tar.zst mandoc-4f2ec2ae5810c381eebe5bda1abb21eaf53144dc.zip |
When the last line of the input is empty and the previous line reduced
the line input buffer to a length of one byte, do not write one byte
past the end of the line input buffer. Minimal code to show the bug:
printf ".ds X\n.X\n\n" | MALLOC_OPTIONS=C mandoc
Bug found by bentley@ in the sysutils/rancid par(1) manual page.
Diffstat (limited to 'regress/roff/nr')
0 files changed, 0 insertions, 0 deletions