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

Add missing nil check to FIPS EA verification #15883

Merged
merged 1 commit into from
Jun 8, 2022

Commits on Jun 8, 2022

  1. Add missing nil check to FIPS EA verification

    This was causing failures when running `vault server -dev`:
    
    > panic: runtime error: invalid memory address or nil pointer dereference
    > [signal SIGSEGV: segmentation violation code=0x2 addr=0x20 pc=0x105c41c1c]
    >
    > goroutine 1 [running]:
    > github.com/hashicorp/vault/command.(*ServerCommand).parseConfig(0x140005a2180)
    > 	.../vault/command/server.go:429 +0x5c
    
    Interestingly, we do not have a test case for running the dev
    sever.
    
    Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
    cipherboy committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    9ad99eb View commit details
    Browse the repository at this point in the history