Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

use msc_init to check modsecurity #275

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

Closed

Conversation

Copy link

@liudongmiao liudongmiao commented Mar 21, 2022

printf is not part of modsecurity, and may not work with -Werror

mikelolasagasti and airween reacted with thumbs up emoji
printf is not part of modsecurity, and may not work with -Werror
Copy link

This patch is required by downstream Fedora. It is required even if MODSECURITY_LIB and MODSECURITY_INC are set.

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Member

airween commented Jun 4, 2024

@liudongmiao thanks, this is very useful. (I had solved that with a bit similar way in Debian - but this one is more elegant.)

Could you pick up the current status and rebase your tree? It would be nice to run every PR's against our new workflow.

Thanks!

Copy link
Author

@airween Thanks.

PR #275 was made two years ago. In last 2 years, modsecurity and modsecurity-nginx have changed.

theseion added a commit to theseion/modsecurity-crs-docker that referenced this pull request 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.
Copy link
Author

close as fixed in #352

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /