-
Notifications
You must be signed in to change notification settings - Fork 904
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
Prevent segfault with empty allow-from-file and allow-from options #11496
Conversation
Thanks! I wonder if it wouldn't be better to return an empty |
9810f63
to
8b50c54
Compare
I've changed the logic to correctly print the warning message, if the options are set empty. It was just avoiding the segfault before. |
I like a single |
Oops! Sorry about overlooking this when I redid that code :-) |
8b50c54
to
8574d93
Compare
Always return a valid NetmaskGroup from parseACL()
8574d93
to
bc79df6
Compare
Updated to |
I'm a bit sad none of CodeQL, coverity or scanbuild has seen this bug... |
…mpty allow-from-file and allow-from options
Short description
parseACL() returns a nullptr when both options are set empty.
Checklist
I have: