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

NSSelectOne returns nil pointer w/o error #80

Open
danielboros opened this issue Jul 6, 2022 · 0 comments
Open

NSSelectOne returns nil pointer w/o error #80

danielboros opened this issue Jul 6, 2022 · 0 comments

Comments

@danielboros
Copy link

It seems NSSelectOne returns a nil pointer w/o an error for found if the element is not present.

I found this while chasing a production panic that's using this repo as a dependency:

dexidp/dex#1823

I'm not sure if it would make sense to just do a found == nil check in NSSelectOne and return an error.

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

No branches or pull requests

1 participant