summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2021-08-26 18:19:39 +0800
committerfengweihao <[email protected]>2021-08-26 18:19:39 +0800
commitd6ee3fe4c0200f9537e7d22fcae234cafd36772b (patch)
tree674ed39fc861f2ae175f7477617de788eeeb8fb8
parente0e03c25c18d9766e9ac5372c89bee76d6bd7b91 (diff)
bugfix: 修复用户输入自定义字符串长度导致越界问题v2.2.4-20210826
-rw-r--r--common/include/verify_policy_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/include/verify_policy_utils.h b/common/include/verify_policy_utils.h
index a7a6a2f..145c20e 100644
--- a/common/include/verify_policy_utils.h
+++ b/common/include/verify_policy_utils.h
@@ -6,7 +6,7 @@
#define VERIFY_SYMBOL_MAX 64
#define VERIFY_STRING_MAX 2048
-#define VERIFY_ARRAY_MAX 128
+#define VERIFY_ARRAY_MAX 512
/** Alway treated the expr as true */
#ifndef likely