Skip to content

Add missing const

e23dccf
Select commit
Loading
Failed to load commit list.
Open

Fix memory leak #3510

Add missing const
e23dccf
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 9, 2026 in 27s

Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 272 in apache2/apache2_config.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ0Bk70nD0Hd6Uj2W-Nf&open=AZ0Bk70nD0Hd6Uj2W-Nf&pullRequest=3510

Check failure on line 197 in apache2/apache2_config.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 85 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ0Bk70nD0Hd6Uj2W-Ne&open=AZ0Bk70nD0Hd6Uj2W-Ne&pullRequest=3510

Check failure on line 817 in apache2/apache2_config.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 57 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ0AJmsEOXZvjmSzBF3N&open=AZ0AJmsEOXZvjmSzBF3N&pullRequest=3510