summaryrefslogtreecommitdiffstats
path: root/regress/eqn/unary/sqrt.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
commit34589e401a21bcc56e2bd67317e1b63d18fac8ef (patch)
treea483bd36c1dfb7a1a7bf19046591526f3a269243 /regress/eqn/unary/sqrt.out_ascii
parent569cfcee61560d07f2e68e68d200da64b2c10f7e (diff)
downloadmandoc-34589e401a21bcc56e2bd67317e1b63d18fac8ef.tar.gz
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/unary/sqrt.out_ascii')
-rw-r--r--regress/eqn/unary/sqrt.out_ascii4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/eqn/unary/sqrt.out_ascii b/regress/eqn/unary/sqrt.out_ascii
index 104df229..f109b770 100644
--- a/regress/eqn/unary/sqrt.out_ascii
+++ b/regress/eqn/unary/sqrt.out_ascii
@@ -4,6 +4,6 @@ NNAAMMEE
uunnaarryy--ssqqrrtt - square root
DDEESSCCRRIIPPTTIIOONN
- initial text r = sqrt(x^2 + y^2) final text
+ initial text r = sqrt(x^2 + y^2) + sqrt() + sqrt final text
-OpenBSD October 10, 2014 OpenBSD
+OpenBSD February 12, 2017 OpenBSD