From c3317ce7ba853951169e276dbe7b9447bfe528d7 Mon Sep 17 00:00:00 2001 From: Ivan Kochin Date: Thu, 19 Oct 2023 12:35:51 +0400 Subject: [PATCH] TEST/MD/IB: Reduce stack usage to make coverity happy --- test/gtest/uct/ib/test_ib_md.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/gtest/uct/ib/test_ib_md.cc b/test/gtest/uct/ib/test_ib_md.cc index b661012512b..e39909ddc4d 100644 --- a/test/gtest/uct/ib/test_ib_md.cc +++ b/test/gtest/uct/ib/test_ib_md.cc @@ -14,8 +14,6 @@ #include #include -#include - class test_ib_md : public test_md { protected: @@ -231,7 +229,7 @@ void test_ib_md::test_mkey_pack_mt_internal(unsigned access_mask, bool invalidate) { constexpr size_t size = 1 * UCS_MBYTE; - std::array buffer; + std::vector buffer(size, 0); unsigned pack_flags, dereg_flags; uct_mem_h memh;