TSG-15381 TFE适配MAAT4的maat_plugin_table_get_ex_data()接口变更

This commit is contained in:
luwenpeng
2023-06-06 10:39:01 +08:00
parent 396f8426f9
commit db5530aa56
9 changed files with 13 additions and 13 deletions

View File

@@ -266,7 +266,7 @@ int intercept_policy_enforce(struct intercept_policy_enforcer *enforcer, struct
}
snprintf(buff, sizeof(buff), "%lu", rule_id);
param = (struct intercept_param *)maat_plugin_table_get_ex_data(enforcer->maat, enforcer->table_id, buff);
param = (struct intercept_param *)maat_plugin_table_get_ex_data(enforcer->maat, enforcer->table_id, buff, strlen(buff));
if (param == NULL)
{
TFE_LOG_INFO(enforcer->logger, "Failed to get intercept parameter of policy %lu.", rule_id);