From 835540e0c710d0fcef85cc4e79f3200d559bc2c9 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 1 Sep 2020 18:25:27 +0000 Subject: Ignore unreasonably large spacing modifiers in tbl layouts. Jan Schreiber ran afl on mandoc and it turned out mandoc tried to use spacing modifiers so large that they would trigger assertion failures in term_ascii.c, function locale_advance(). --- regress/tbl/layout/spacing-nogroff.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 regress/tbl/layout/spacing-nogroff.in (limited to 'regress/tbl/layout/spacing-nogroff.in') diff --git a/regress/tbl/layout/spacing-nogroff.in b/regress/tbl/layout/spacing-nogroff.in new file mode 100644 index 00000000..926c975f --- /dev/null +++ b/regress/tbl/layout/spacing-nogroff.in @@ -0,0 +1,13 @@ +.\" $OpenBSD$ +.TH TBL-LAYOUT-SPACING 1 "September 1, 2020" +.SH NAME +tbl-layout-spacing-nogroff \- excessive spacing modifier +.SH DESCRIPTION +initial text +.TS +box tab(:); +R 10 L. +a:b +.TE +.sp +final text -- cgit v1.2.3-56-ge451