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/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'regress/tbl/layout/Makefile') diff --git a/regress/tbl/layout/Makefile b/regress/tbl/layout/Makefile index 2cff5851..61fb6ad4 100644 --- a/regress/tbl/layout/Makefile +++ b/regress/tbl/layout/Makefile @@ -1,15 +1,17 @@ # $OpenBSD: Makefile,v 1.6 2020/01/11 20:56:26 schwarze Exp $ REGRESS_TARGETS = badspan center complex empty emptycol emptyline -REGRESS_TARGETS += lines lines-nogroff numbers shortlines span -LINT_TARGETS = badspan complex empty +REGRESS_TARGETS += lines lines-nogroff numbers +REGRESS_TARGETS += shortlines spacing spacing-nogroff span +LINT_TARGETS = badspan complex empty spacing-nogroff -# groff-1.22.3 defects: +# groff-1.22.4 defects: # - When the layout is completely empty, # GNU eqn produces no output whatsoever for the whole table. # - When there is no horizontal line at the top, # vertical lines extend beyond the top of the table. +# - Excessive spacing modifiers in the layout are honoured. -SKIP_GROFF = empty lines-nogroff +SKIP_GROFF = empty lines-nogroff spacing-nogroff .include -- cgit v1.2.3-56-ge451