diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-09-01 18:25:27 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-09-01 18:25:27 +0000 |
commit | 835540e0c710d0fcef85cc4e79f3200d559bc2c9 (patch) | |
tree | 892f10a95a8c810db492fb001ba07a501400fda8 /regress/tbl/layout/spacing-nogroff.out_ascii | |
parent | 74317de919ffbe0b012c3dc4777d6b55037b810a (diff) | |
download | mandoc-835540e0c710d0fcef85cc4e79f3200d559bc2c9.tar.gz mandoc-835540e0c710d0fcef85cc4e79f3200d559bc2c9.tar.zst mandoc-835540e0c710d0fcef85cc4e79f3200d559bc2c9.zip |
Ignore unreasonably large spacing modifiers in tbl layouts.
Jan Schreiber <jes at posteo dot de> 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().
Diffstat (limited to 'regress/tbl/layout/spacing-nogroff.out_ascii')
-rw-r--r-- | regress/tbl/layout/spacing-nogroff.out_ascii | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/regress/tbl/layout/spacing-nogroff.out_ascii b/regress/tbl/layout/spacing-nogroff.out_ascii new file mode 100644 index 00000000..f4d68e74 --- /dev/null +++ b/regress/tbl/layout/spacing-nogroff.out_ascii @@ -0,0 +1,18 @@ +TBL-LAYOUT-SPACING(1) General Commands Manual TBL-LAYOUT-SPACING(1) + + + +NNAAMMEE + tbl-layout-spacing-nogroff - excessive spacing modifier + +DDEESSCCRRIIPPTTIIOONN + initial text + + +------+ + |a b | + +------+ + final text + + + +OpenBSD September 1, 2020 TBL-LAYOUT-SPACING(1) |