[BACK]Return to wide.in CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / ti

File: [cvsweb.bsd.lv] / mandoc / regress / roff / ti / wide.in (download)

Revision 1.1, Thu Sep 3 17:42:16 2020 UTC (3 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD

If .ti had an excessive argument, using it was attempted, in some
cases resulting in an assertion failure.  Instead, truncate the
temporary indent to a width reasonable in a manual page.

I found the issue in an afl run
that was performed by Jan Schreiber <jes at posteo dot de>.

.\" $OpenBSD: wide.in,v 1.1 2020/09/03 17:37:06 schwarze Exp $
.TH TI-WIDE 1 "September 3, 2020"
.SH NAME
ti-wide \- excessive temporary indentation
.SH DESCRIPTION
Absolute .ti of more than 72n:
.ti 80n
max
.RS 40n
Indented block plus excessive relative indentation:
.ti +40n
max
.RE
.RS 66n
Block beyond 72n:
.ti +4n
same
.RE
Back to normal.