summaryrefslogtreecommitdiffstats
path: root/mandoc.css
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-05-20 21:37:34 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-05-20 21:37:34 +0000
commitdc6a309af4c8f768ef81cac2ed1d1424f8cdde4e (patch)
tree9e81552dce5ead119b76ab6cc4174e2a9904b116 /mandoc.css
parente41fa11ae33ec3aa4b412ad28181fefcf716bb99 (diff)
downloadmandoc-dc6a309af4c8f768ef81cac2ed1d1424f8cdde4e.tar.gz
Protect against malicious manual pages containing .ll requests with
excessive arguments: apply the same cutoff as for the -O width= command line argument. While here, also place some assertions at strategical places to prevent excessive indentations from being printed in case of bugs. In the past, we had more than one bug that caused mandoc to print effectively infinite output, filling up people's /tmp/ file system, which is not funny. We cannot prevent bugs from crashing the program, but we can at least make filling up the disk less likely. Triggered by a remark from sthen@ on source-changes@.
Diffstat (limited to 'mandoc.css')
0 files changed, 0 insertions, 0 deletions