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

PM UI: fix potential NullReferenceException #3672

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

dtivel
Copy link
Contributor

@dtivel dtivel commented Sep 17, 2020

Bug

Fixes: NuGet/Home#10042
Regression: No

Fix

Details: SignatureException.Results can be null. Many places null check the property before using it; however, a few places didn't. While following the repro for NuGet/Home#10034, I hit a NullReferenceException here.

While I was at it I found and fixed a few other places where Results was not null checked.

Testing/Validation

Tests Added: Yes

@dtivel dtivel requested a review from a team as a code owner September 17, 2020 05:35
@dtivel dtivel merged commit b8f519e into dev Sep 17, 2020
@dtivel dtivel deleted the dev-dtivel-fix-nullreferenceexception branch September 17, 2020 19:50
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.

PM UI: NullReferenceException when signature validation fails
2 participants