Skip to content

Fix Windows crash by bumping wincred#91

Merged
szuecs merged 1 commit intozalando:masterfrom
mislav:windows-crash
May 17, 2023
Merged

Fix Windows crash by bumping wincred#91
szuecs merged 1 commit intozalando:masterfrom
mislav:windows-crash

Conversation

@mislav
Copy link
Copy Markdown
Contributor

@mislav mislav commented May 16, 2023

For some Go applications, reading a stored credential from wincred could result in a crash because both the returned credential pointer and the error value would be nil, even though the credential technically exists in wincred storage. This was fixed upstream in the wincred library.

⚠️ Note that the minimum Go version required by danieljoos/wincred is now 1.18. The appveyor build fails as a result due to its go version go1.13.3

Fixes #53

@mikkeloscar
Copy link
Copy Markdown
Member

Thanks! @mislav

@mikkeloscar
Copy link
Copy Markdown
Member

Will remove appvoyer in #93 and fix the FreeBSD build in #94

@szuecs szuecs closed this May 17, 2023
@szuecs szuecs reopened this May 17, 2023
@szuecs
Copy link
Copy Markdown
Member

szuecs commented May 17, 2023

Ah no close/reopen does not work, you have to fetch and rebase on master branch.
We merged all the mentioned PRs.

For some Go applications, reading a stored credential from wincred could
result in a crash because both the returned credential pointer and the
error value would be nil, even though the credential technically exists
in wincred storage. This was fixed upstream in the wincred library.

Signed-off-by: Mislav Marohnić <git@mislav.net>
@mikkeloscar
Copy link
Copy Markdown
Member

I have rebased the PR

@mikkeloscar
Copy link
Copy Markdown
Member

👍

1 similar comment
@demonCoder95
Copy link
Copy Markdown
Member

👍

@szuecs szuecs merged commit b0e756d into zalando:master May 17, 2023
@mislav mislav deleted the windows-crash branch May 17, 2023 12:41
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.

panic in windowsKeychain.Get

4 participants