Skip to content

Conversation

@nic-prgs
Copy link

validateSchema rule leaks memory under normal exit

Add explicit xmlSchemaFreeParserCtxt call

Because sometimes memory is not an infinite resource

@sonarqubecloud
Copy link

Copy link
Member

@airween airween left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks!

@airween
Copy link
Member

airween commented Jun 11, 2025

Thanks @nic-prgs!

Fortunately, v3 does not affected by this issue.

@airween airween merged commit c01e5db into owasp-modsecurity:v2/master Jun 11, 2025
82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants