CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2019/03/19 10:25:38
Modified files: usr.bin/mandoc : read.c Log message: 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.