OpenBSD/src usdYY0xusr.bin/mandoc term_ascii.c

   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@.
VersionDeltaFile
1.46+7-1usr.bin/mandoc/term_ascii.c
+7-11 files

UnifiedSplitRaw