Fix a read buffer overrun triggered by trailing \s- or trailing \s+
authorschwarze <schwarze@openbsd.org>
Thu, 1 Jan 2015 18:10:09 +0000 (18:10 +0000)
committerschwarze <schwarze@openbsd.org>
Thu, 1 Jan 2015 18:10:09 +0000 (18:10 +0000)
commit50dbfa23f5f1aa959bc1ca73770fab1f89caf3be
tree233b2cdf8ea8e030f3737749d3da7fde94e86ee7
parent39a71cb5ba16d7d75bf4c0a5fb0b7a8d2a713e9d
Fix a read buffer overrun triggered by trailing \s- or trailing \s+
without the required subsequent argument; found by jsg@ with afl.
regress/usr.bin/mandoc/roff/esc/Makefile
regress/usr.bin/mandoc/roff/esc/ignore.in
regress/usr.bin/mandoc/roff/esc/ignore.out_ascii
regress/usr.bin/mandoc/roff/esc/ignore.out_lint [new file with mode: 0644]
usr.bin/mandoc/mandoc.c