Fix code scanning alert - Arbitrary file access during archive extraction ("Zip Slip") #213
Annotations
10 warnings
src/Winget.CommunityRepository.Ef/WingetRepositoryWithEf.cs#L71
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/Winget.CommunityRepository.Ef/Winget.CommunityRepository.Ef.csproj::TargetFramework=net8.0]
|
src/WingetIntune/Implementations/DefaultFileManager.cs#L152
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net8.0]
|
src/WingetIntune/Internal/Msal/InteractiveAuthenticationProvider.cs#L95
The variable 'ex' is declared but never used [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net8.0]
|
src/WingetIntune/Intune/IntuneManager.cs#L713
'Use the constructor that takes an isCaeEnabled parameter instead.' [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net8.0]
|
src/Winget.CommunityRepository.Ef/WingetRepositoryWithEf.cs#L71
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/Winget.CommunityRepository.Ef/Winget.CommunityRepository.Ef.csproj::TargetFramework=net6.0]
|
src/WingetIntune/Implementations/DefaultFileManager.cs#L152
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
|
src/WingetIntune/Internal/Msal/InteractiveAuthenticationProvider.cs#L95
The variable 'ex' is declared but never used [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
|
src/WingetIntune/Intune/IntuneManager.cs#L713
'Use the constructor that takes an isCaeEnabled parameter instead.' [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
|
src/Winget.CommunityRepository.Ef/WingetRepositoryWithEf.cs#L71
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/Winget.CommunityRepository.Ef/Winget.CommunityRepository.Ef.csproj::TargetFramework=net8.0]
|
src/WingetIntune/Implementations/DefaultFileManager.cs#L152
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net8.0]
|
This job succeeded
Loading