Skip to content

Commit 2be5ee3

Browse files
authored
Fix out of bounds read in ?llarv (Reference-LAPACK PR 625)
1 parent c34e63f commit 2be5ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lapack-netlib/SRC/clarrv.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ SUBROUTINE CLARRV( N, VL, VU, D, L, PIVMIN,
351351
*
352352
* Quick return if possible
353353
*
354-
IF( N.LE.0 ) THEN
354+
IF( (N.LE.0) .OR. (M.LE.0) ) THEN
355355
RETURN
356356
END IF
357357
*

0 commit comments

Comments
 (0)