Blame SOURCES/openblas-0.3.15-out-of-bounds-read.patch

383b55
From 337b65133df174796794871b3988cd03426e6d41 Mon Sep 17 00:00:00 2001
383b55
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
383b55
Date: Fri, 1 Oct 2021 11:19:53 +0200
383b55
Subject: [PATCH] Fix out of bounds read in ?llarv (Reference-LAPACK PR 625)
383b55
383b55
Resolves: CVE-2021-4048
383b55
383b55
---
383b55
 lapack-netlib/SRC/zlarrv.f | 2 +-
383b55
 1 file changed, 1 insertion(+), 1 deletion(-)
383b55
383b55
diff --git a/lapack-netlib/SRC/zlarrv.f b/lapack-netlib/SRC/zlarrv.f
383b55
index 23976dbe..8d10e3c2 100644
383b55
--- a/lapack-netlib/SRC/zlarrv.f
383b55
+++ b/lapack-netlib/SRC/zlarrv.f
383b55
@@ -351,7 +351,7 @@
383b55
 *
383b55
 *     Quick return if possible
383b55
 *
383b55
-      IF( N.LE.0 ) THEN
383b55
+      IF( (N.LE.0).OR.(M.LE.0) ) THEN
383b55
          RETURN
383b55
       END IF
383b55
 *
383b55
-- 
383b55
2.33.1
383b55