owasp-modsecurity / ModSecurity-nginx

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

Compilation issue with gcc14 and nginx 1.27.0 #325

Closed satmd closed 3 weeks ago

satmd commented 3 weeks ago

This module does not compile on my gentoo unstable gcc14 amd64 system, because of using printf() without including stdio.h:

Patch included below. http_security-1.3.0-gcc14.patch.txt

Sorry for not providing a regular PR.

satmd commented 3 weeks ago

Downstream bug: https://bugs.gentoo.org/933598

airween commented 3 weeks ago

Hi @satmd,

thanks for reporting.

Unfortunately this is an "old" issue (therefore this is a duplicated report) - there is a similar solution in #275.

I'm going to close this one - thanks again.