diff options
author | 2019-03-19 16:25:38 +0000 | |
---|---|---|
committer | 2019-03-19 16:25:38 +0000 | |
commit | 18b6272148ef7981ff714b05497a885067929479 (patch) | |
tree | d52f679188685cf40dc5da9435c461ff066298e3 /usr.bin/diff/diff.1 | |
parent | Rename the first KEY BINDINGS section to DEFAULT KEY BINDINGS. (diff) | |
download | wireguard-openbsd-18b6272148ef7981ff714b05497a885067929479.tar.xz wireguard-openbsd-18b6272148ef7981ff714b05497a885067929479.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 'usr.bin/diff/diff.1')
0 files changed, 0 insertions, 0 deletions