From c18fe6e945f59c4d23069a6a4c4845b16f8cc88c Mon Sep 17 00:00:00 2001 From: liuxueli Date: Tue, 24 Nov 2020 19:13:20 +0600 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=94=E5=9B=9E=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E5=91=BD=E4=B8=AD=E4=B8=AA=E6=95=B0=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry/Maat_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entry/Maat_api.cpp b/src/entry/Maat_api.cpp index 639266e..29cfa97 100644 --- a/src/entry/Maat_api.cpp +++ b/src/entry/Maat_api.cpp @@ -273,7 +273,7 @@ int region_compile(_Maat_feather_t*feather, struct Maat_hierarchy_compile_mid* c alignment_int64_array_add(feather->not_grp_hit_cnt, thread_num, 1); } - return scan_ret; + return MIN(scan_ret, size); }