Skip to content
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

Return on mTLS watch error to avoid nil pointer deref #64

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

patricksanders
Copy link
Contributor

In the case where the mTLS file watcher creation returns an error, Weep would crash due to a nil pointer dereference. This PR returns after logging the error to prevent this crash.

@patricksanders patricksanders merged commit aa2af3d into master Apr 13, 2021
@patricksanders patricksanders deleted the fix/mtls-watcher-crash branch April 13, 2021 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants