aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/eqn/matrix/empty.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-12 14:19:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-12 14:19:01 +0000
commita0500c3d4259db15e5b11c0d7cded19840efa3e5 (patch)
tree1ea318c3be442230bd17a32f9e47ff68e7e47449 /regress/eqn/matrix/empty.out_ascii
parent751954a95b11620a0729815eee5feeaa166a265c (diff)
downloadmandoc-a0500c3d4259db15e5b11c0d7cded19840efa3e5.tar.gz
mandoc-a0500c3d4259db15e5b11c0d7cded19840efa3e5.tar.zst
mandoc-a0500c3d4259db15e5b11c0d7cded19840efa3e5.zip
Do not access a NULL pointer if a matrix or square root are empty.
Crashes found by tb@ with afl(1).
Diffstat (limited to 'regress/eqn/matrix/empty.out_ascii')
-rw-r--r--regress/eqn/matrix/empty.out_ascii9
1 files changed, 9 insertions, 0 deletions
diff --git a/regress/eqn/matrix/empty.out_ascii b/regress/eqn/matrix/empty.out_ascii
new file mode 100644
index 00000000..ca555848
--- /dev/null
+++ b/regress/eqn/matrix/empty.out_ascii
@@ -0,0 +1,9 @@
+MATRIX-EMPTY(1) General Commands Manual MATRIX-EMPTY(1)
+
+NNAAMMEE
+ mmaattrriixx--eemmppttyy - empty matrixes
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text () () final text
+
+OpenBSD February 12, 2017 OpenBSD