8000 fix: work around configure issue with GCC 14+ by theseion · Pull Request #351 · coreruleset/modsecurity-crs-docker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: work around configure issue with GCC 14+ #351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

theseion
Copy link
Contributor
@theseion theseion commented Apr 26, 2025

See owasp-modsecurity/ModSecurity-nginx#275. ModSecurity-nginx uses printf as part of the nginx configure test. As of GCC 14, this leads to an error during compilation and thus to an error when running configure on nginx.

This commit works around the issue by patching the config file in ModSecurity-nginx with a valid value for.

This affects the nginx-alpine build as of nginx 1.28.0 which is built with Alpine 3.21, which requires GCC 14+.

See owasp-modsecurity/ModSecurity-nginx#275.
ModSecurity-nginx uses `printf` as part of the nginx configure test. As
of GCC 14, this leads to an error during compilation and thus to an
error when running `configure` on nginx.

This commit works around the issue by patching the `config` file in
ModSecurity-nginx with a valid value for.
@theseion theseion requested a review from fzipi April 26, 2025 16:34
@theseion theseion added the bug Something isn't working label Apr 26, 2025
@fzipi fzipi merged commit d38a95e into coreruleset:main Apr 26, 2025
5 checks passed
@theseion theseion deleted the work-around-configure-issue-in-gcc-14 branch April 26, 2025 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0