Skip to content

Apache2: segmentation fault if writing to audit log fails #668

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
merged 2 commits into from
Mar 4, 2014

Conversation

edieterich
Copy link
Contributor

Fix a segmentation fault that occurs if SecAuditLogType is set to Concurrent and writing to the audit log fails.

Ewald Dieterich added 2 commits February 26, 2014 08:29
A segmentation fault occurs if concurrent audit log format is enabled
(SecAuditLogType Concurrent) and writing to the log fails.
Add error description from apr_strerror() to message that is logged if
writing to audit log failed.
@zimmerle zimmerle self-assigned this Mar 4, 2014
zimmerle pushed a commit that referenced this pull request Mar 4, 2014
Fix segmentation fault on auditlog
@zimmerle zimmerle merged commit 38cc5de into owasp-modsecurity:master Mar 4, 2014
@zimmerle
Copy link
Contributor

zimmerle commented Mar 4, 2014

Hi @edieterich there was a minor error in our printf which was causing your build to failed, i have got it fixed and merged the code.

Thanks.

@zimmerle zimmerle added this to the testing milestones milestone Mar 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants