summaryrefslogtreecommitdiffstats
path: root/regress/tbl/layout/shortlines.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-06-11 16:04:36 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-06-11 16:04:36 +0000
commit818668a067fce10e78f5f5098bed05373f3338cf (patch)
treedbe3dba509cdc25ea9410027a003f6c37a44abb5 /regress/tbl/layout/shortlines.out_ascii
parentef195046e60def3f6de6b879bec45de18894e56a (diff)
downloadmandoc-818668a067fce10e78f5f5098bed05373f3338cf.tar.gz
Do not access a NULL pointer if a table contains a horizontal line
next to a table line having fewer columns than the table as a whole. Bug found by Stephen Gregoratto <dev at sgregoratto dot me> with aerc-config(5).
Diffstat (limited to 'regress/tbl/layout/shortlines.out_ascii')
-rw-r--r--regress/tbl/layout/shortlines.out_ascii48
1 files changed, 48 insertions, 0 deletions
diff --git a/regress/tbl/layout/shortlines.out_ascii b/regress/tbl/layout/shortlines.out_ascii
new file mode 100644
index 00000000..02fe01d7
--- /dev/null
+++ b/regress/tbl/layout/shortlines.out_ascii
@@ -0,0 +1,48 @@
+TBL-LAYOUT-SHORTLINES(1) General Commands Manual TBL-LAYOUT-SHORTLINES(1)
+
+
+
+NNAAMMEE
+ tbl-layout-shortlines - table lines of different length
+
+DDEESSCCRRIIPPTTIIOONN
+ normal text
+
+ +------+-------+
+ |left | right |
+ +------+-------+
+ |short | |
+ +------+-------+
+ |left | right |
+ +------+-------+
+
+ +-------------+-------+
+ |left | right |
+ +-------------+-------+
+ |first short | |
+ +-------------+-------+
+ |second short | |
+ +-------------+-------+
+ |left | right |
+ +-------------+-------+
+
+ +-----------+--------+-------+
+ |left | middle | right |
+ +-----------+--------+-------+
+ |short | line | |
+ +-----------+--------+-------+
+ |very short | | |
+ +-----------+--------+-------+
+
+ +-----------+--------+-------+
+ |very short | | |
+ +-----------+--------+-------+
+ |short | line | |
+ +-----------+--------+-------+
+ |left | middle | right |
+ +-----------+--------+-------+
+
+
+
+
+OpenBSD June 11, 2019 TBL-LAYOUT-SHORTLINES(1)