Reduce memory and time consumption on certain malformed input files
authorschwarze <schwarze@openbsd.org>
Thu, 25 Dec 2014 17:18:40 +0000 (17:18 +0000)
committerschwarze <schwarze@openbsd.org>
Thu, 25 Dec 2014 17:18:40 +0000 (17:18 +0000)
commit95bbf73ae444350b88fd4262220059b2aba57921
tree91066b0d29a639807014d0f503f9726d9f52d42a
parent25da273366ceefa9ff28507f7f44a8f5b574aae6
Reduce memory and time consumption on certain malformed input files
by limiting the length of expanded input lines during the
(usually recursive) expansion of user defined strings.
Resource hogging found by jsg@ with afl.
share/man/man7/roff.7
usr.bin/mandoc/roff.c