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

fix(partial): Issue #5144 Avoid NPE on non-Include packageReference #5362

Merged
merged 1 commit into from
Jan 21, 2023

Conversation

aikebah
Copy link
Collaborator

@aikebah aikebah commented Jan 20, 2023

Original PR #5293 was incorrect for fixing the NPE. We should not attempt dereference of the null-valued getNamedItem return value for an absent Include attribute.

See also #5352

Improved version of #5293. We should not attempt dereference of the null-valued attribute-node of an absent Include attribute
@boring-cyborg boring-cyborg bot added the core changes to core label Jan 20, 2023
@aikebah aikebah added this to the 8.0.2 milestone Jan 20, 2023
@jeremylong jeremylong merged commit 70495d5 into main Jan 21, 2023
@jeremylong jeremylong deleted the MSBuild-nullpointer branch January 21, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core changes to core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants