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

PVS-Studio: fixed potential vulnerabilities #1918

Merged
merged 1 commit into from
Apr 4, 2017
Merged

PVS-Studio: fixed potential vulnerabilities #1918

merged 1 commit into from
Apr 4, 2017

Conversation

skhrenov
Copy link
Contributor

V3095 The 'condition' object was used before it was verified against null. Check lines: 240, 244. Microsoft.Build.Engine Utilities.cs 240
V3095 The 'ReferenceInfo' object was used before it was verified against null. Check lines: 80, 90. Microsoft.Build.Tasks AxReference.cs 80
V3095 The 'packageFileName' object was used before it was verified against null. Check lines: 1439, 1448. Microsoft.Build.Tasks BootstrapperBuilder.cs 1439
V3095 The 'metadataNames' object was used before it was verified against null. Check lines: 243, 253. Microsoft.Build.Tasks CommandLineBuilderExtension.cs 243
V3095 The 'diskRoots' object was used before it was verified against null. Check lines: 2880, 2883. Microsoft.Build.Utilities ToolLocationHelper.cs 2880

V3095 -> CWE-476 (Medium) NULL Pointer Dereference

Copy link
Contributor

@AndyGerlicher AndyGerlicher left a comment

Choose a reason for hiding this comment

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

Looks good, thanks again for the contribution!

@AndyGerlicher AndyGerlicher changed the base branch from xplat to master April 4, 2017 22:23
@AndyGerlicher AndyGerlicher merged commit 9d44e67 into dotnet:master Apr 4, 2017
cdmihai added a commit that referenced this pull request Apr 6, 2017
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.

None yet

4 participants