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

avoid segfault when refreshing PKI certs #21

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

nickmhankins
Copy link

@nickmhankins nickmhankins commented Dec 20, 2023

This prevents a segfault when pki.vault.Logical().Read returns with no data

INFO[0000] mtls/test-intermediate/ loaded
INFO[0000] Refresh PKI certificate for mtls/test-intermediate/
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x16e7034]

@aarnaud aarnaud merged commit 4f96e9c into aarnaud:master Dec 21, 2023
1 check passed
@aarnaud
Copy link
Owner

aarnaud commented Dec 21, 2023

Thanks

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