策略验证添加漏掉的TSG_OBJ_APP_ID表注册代码

This commit is contained in:
fengweihao
2020-03-18 15:40:21 +08:00
parent f3d800dd76
commit cd0fd581f1
3 changed files with 6 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ struct pangu_http_ctx
size_t n_enforce;
struct Maat_rule_t * enforce_rules;
int n_read;
struct Maat_hit_path_t hit_path[128];
struct Maat_hit_path_t hit_path[2048];
int thread_id;
};
@@ -549,6 +549,7 @@ int security_policy_init(struct verify_policy * verify, const char* profile_path
table_name[PXY_SECURITY_FTP_URI] = "TSG_FIELD_FTP_URI";
table_name[PXY_SECURITY_FTP_CONTENT] = "TSG_FIELD_FTP_CONTENT";
table_name[PXY_SECURITY_FTP_ACCOUNT] = "TSG_FIELD_FTP_ACCOUNT";
table_name[PXY_SECURITY_APP_ID] = "TSG_OBJ_APP_ID";
for (int i = 0; i < __SECURITY_TABLE_MAX; i++)
{