aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit304ecda43472e85a726c792ca5c88b3f2655a892 (patch)
tree44de9f1d4e52a6c0f44067790c8343f7df46be19 /regress/tbl/layout/shortlines.out_ascii
parentdfcfddad25114d69f0ea23cc3caf55ef9e7ce6e7 (diff)
downloadmandoc-304ecda43472e85a726c792ca5c88b3f2655a892.tar.gz
mandoc-304ecda43472e85a726c792ca5c88b3f2655a892.zip
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)