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

Fix nil pointer access #116

Merged
merged 2 commits into from Dec 19, 2022
Merged

Fix nil pointer access #116

merged 2 commits into from Dec 19, 2022

Commits on Oct 24, 2022

  1. Fix nil pointer access

    Fix this issue: 
    ```
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5b3310]
    
    goroutine 1 [running]:
    github.com/99designs/keyring.(*fileKeyring).resolveDir(0x7fa61e988400?)
            /Users/pfautre/Library/Go/pkg/mod/github.com/99designs/keyring@v1.2.1/file.go:48 +0x90
    github.com/99designs/keyring.(*fileKeyring).Keys(0xc000280020?)
            /Users/pfautre/Library/Go/pkg/mod/github.com/99designs/keyring@v1.2.1/file.go:169 +0x2b
    main.main()
    ```
    Scapal committed Oct 24, 2022
    Copy the full SHA
    590d15a View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2022

  1. Update file.go

    mtibben committed Dec 19, 2022
    Copy the full SHA
    cd7fe6c View commit details
    Browse the repository at this point in the history