owasp-modsecurity / ModSecurity-nginx

ModSecurity v3 Nginx Connector
Apache License 2.0
1.48k stars 274 forks source link

exist memory leak! #300

Closed fyy-100 closed 1 year ago

fyy-100 commented 1 year ago

https://github.com/SpiderLabs/ModSecurity-nginx/blob/d59e4ad121df702751940fd66bcc0b3ecb51a079/src/ngx_http_modsecurity_module.c#L750

martinhsv commented 1 year ago

Hello @fyy-100 ,

If that line of code is run, the error is returned and nginx will fail to start.

Or do you believe you have identified a use case where that line of code can run repeatedly with nginx remaining continuously running?