- Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
hi:
I am just add rule but use msc_rule_cleanup bot free memory. What's wrong with me
modsecurity vserion: v3.0.4
int main() { const char *error; const char *rule = "SecRuleEngine On"; void *rules_set; int i = 0; int rc; rules_set = msc_create_rules_set(); for(i = 0; i < 100000; i++) { rc = msc_rules_add(rules_set, rule, &error); if (rc < 0) { printf("error: %s", error); } } msc_rules_cleanup(rules_set); }
Metadata
Metadata
Assignees
Labels
No labels