From 9c96a20f93f9e994d9478f680abe2b32dfdde6b2 Mon Sep 17 00:00:00 2001 From: Yoan Picchi Date: Mon, 9 Jun 2025 11:48:15 +0000 Subject: [PATCH] Fix test's array size Signed-off-by: Yoan Picchi --- unit/internal/shufti.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit/internal/shufti.cpp b/unit/internal/shufti.cpp index af4b633f..0b6f3219 100644 --- a/unit/internal/shufti.cpp +++ b/unit/internal/shufti.cpp @@ -922,7 +922,7 @@ TEST(DoubleShufti, ExecNoMatchVectorEdge) { ASSERT_TRUE(ret); const int len = 80; - char t1[len + 1]; + char t1[len + 2]; memset(t1, 'b', len); for (size_t i = 0; i < 70; i++) {