Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Fix FindCredentials size on windows #97

Merged
merged 4 commits into from
Mar 1, 2018
Merged

Conversation

cryppadotta
Copy link
Contributor

FindCredentials was missing passing the CredentialBlobSize which resulted in an extra character at the end of the password for some values. Fixes: #96

@cryppadotta
Copy link
Contributor Author

This needs a Unicode test like these but using findCredentials instead of setPassword / getPassword.

I don't have time to write those tests at the moment, but this fixes the bug seen in #96.

@ungb
Copy link

ungb commented Feb 13, 2018

Hi @cryppadotta, was the issue that you're fixing causing a bug in Atom or are you seeing an issue somewhere else?

/cc @daviwil

cryppadotta and others added 2 commits February 28, 2018 17:38
`FindCredentials` was missing passing the `CredentialBlobSize` which resulted in an extra character at the end of the password for some values. Fixes: atom#96
@daviwil daviwil force-pushed the patch-1 branch 2 times, most recently from 31d25a5 to 37363e8 Compare March 1, 2018 02:13
@daviwil
Copy link
Contributor

daviwil commented Mar 1, 2018

Added a test to exercise the change and found another issue with findCredentials not using unicode correctly on Windows. Thanks a lot for the PR @cryppadotta!

@daviwil daviwil merged commit 1651926 into atom:master Mar 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants