From 3d1a5a7c08fed3ba29f060fe1db2b0dc42dde223 Mon Sep 17 00:00:00 2001 From: "Field G. Van Zee" Date: Fri, 16 Mar 2018 12:24:07 -0500 Subject: [PATCH] Fixed printf() format overflow. Details: - Increased the length of operation name strings passed to xerbla_() in the level-2 and level-3 operation _check() functions, found in frame/compat/check. This avoids a format specifier overflow warning by gcc 7. Thanks to Dave Love for reporting this issue and suggesting the fix. --- frame/compat/bli_blas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame/compat/bli_blas.h b/frame/compat/bli_blas.h index 242a03b7a..3a732efda 100644 --- a/frame/compat/bli_blas.h +++ b/frame/compat/bli_blas.h @@ -52,7 +52,7 @@ // -- Constants -- -#define BLIS_MAX_BLAS_FUNC_STR_LENGTH (6+1) +#define BLIS_MAX_BLAS_FUNC_STR_LENGTH (7+1) // -- Utility macros --