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/matrix/empty.out_ascii | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 regress/eqn/matrix/empty.out_ascii (limited to 'regress/eqn/matrix/empty.out_ascii') 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 -- cgit