forked from eclipse-platform/eclipse.platform.ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix NPE in Windows Defender autofix Powershell script on first exclusion
If a user has no process-exclusion defined in its Windows Defender configuration yet, the expression '(Get-MpPreference).ExclusionProcess' returns null in the Powershell script to perform the exclusion. If a null reference is read, the variable is now initialized with an empty set.
- Loading branch information
1 parent
01bc2d8
commit 3200785
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters