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

Add guard against null to match remainder of calls in file #426

Merged
merged 2 commits into from
Nov 10, 2021

Conversation

sbatten
Copy link
Contributor

@sbatten sbatten commented Nov 4, 2021

Adds the same guard against NULL that exists in the other functions in this file.

@deepak1556
Copy link
Contributor

/cc @shiftkey this was found via our internal codeql checks.

Copy link
Collaborator

@sergiou87 sergiou87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Only one nit around messaging the error, if it sounds reasonable.

Off-topic: @deepak1556 I love your profile picture 😍 🥲

src/keytar_win.cc Show resolved Hide resolved
Co-authored-by: Sergio Padrino <sergiou87@github.com>
@sergiou87
Copy link
Collaborator

sergiou87 commented Nov 10, 2021

The Ubuntu check is not passing because ubuntu-16.04 got removed a couple of months ago. This change doesn't affect Linux anyway so… :shipit:

Thank you for the fix!!! 🙌

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.

3 participants