From 34589e401a21bcc56e2bd67317e1b63d18fac8ef Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 12 Feb 2017 14:19:01 +0000 Subject: Do not access a NULL pointer if a matrix or square root are empty. Crashes found by tb@ with afl(1). --- regress/eqn/unary/sqrt.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regress/eqn/unary/sqrt.in') diff --git a/regress/eqn/unary/sqrt.in b/regress/eqn/unary/sqrt.in index 359c3d7b..b416da7c 100644 --- a/regress/eqn/unary/sqrt.in +++ b/regress/eqn/unary/sqrt.in @@ -1,4 +1,4 @@ -.Dd October 10, 2014 +.Dd February 12, 2017 .Dt UNARY-SQRT 1 .Os OpenBSD .Sh NAME @@ -7,6 +7,6 @@ .Sh DESCRIPTION initial text .EQ -r = sqrt { x sup 2 + y sup 2 } +r = sqrt { x sup 2 + y sup 2 } + sqrt { } + sqrt .EN final text -- cgit