summaryrefslogtreecommitdiffstats
path: root/regress/tbl/layout/spacing.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-09-01 18:25:27 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-09-01 18:25:27 +0000
commite6403d9b9e46516e77bb92cf68112cfcb0973755 (patch)
tree7affdbee4b7ac434da019231007e844be70e8542 /regress/tbl/layout/spacing.out_ascii
parentf464f576eb974f463c50cdb91fa8dcf128fe6aac (diff)
downloadmandoc-e6403d9b9e46516e77bb92cf68112cfcb0973755.tar.gz
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.out_ascii')
-rw-r--r--regress/tbl/layout/spacing.out_ascii39
1 files changed, 39 insertions, 0 deletions
diff --git a/regress/tbl/layout/spacing.out_ascii b/regress/tbl/layout/spacing.out_ascii
new file mode 100644
index 00000000..3d51d7d5
--- /dev/null
+++ b/regress/tbl/layout/spacing.out_ascii
@@ -0,0 +1,39 @@
+TBL-LAYOUT-SPACING(1) General Commands Manual TBL-LAYOUT-SPACING(1)
+
+
+
+NNAAMMEE
+ tbl-layout-spacing - spacing modifiers
+
+DDEESSCCRRIIPPTTIIOONN
+ default spacing:
+
+ +------+
+ |a b |
+ +------+
+ spacing 0:
+
+ +---+
+ |ab |
+ +---+
+ spacing 1:
+
+ +----+
+ |a b |
+ +----+
+ spacing 2:
+
+ +--+--+
+ |a |b |
+ +--+--+
+ spacing 5:
+
+ +---++---+
+ |a || b |
+ +---++---+
+ leaked tab settings:
+ a b cdef
+
+
+
+OpenBSD September 1, 2020 TBL-LAYOUT-SPACING(1)