Skip to content

Commit 23822d7

Browse files
committed
Fix vulnerable driver list parsing
1 parent aefaa79 commit 23822d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

info/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,4 +1075,4 @@
10751075
- Misc > Invoke-MachineRoleCheck
10761076
- Misc > Invoke-SystemStartupHistoryCheck
10771077
- Misc > Invoke-SystemStartupCheck
1078-
- Misc > Invoke-SystemDriveCheck
1078+
- Misc > Invoke-SystemDriveCheck

src/helper/Environment.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ function Get-KnownVulnerableKernelDriver {
11001100

11011101
foreach ($VulnerableDriver in $VulnerableDrivers) {
11021102

1103-
$Hashes = [String[]] $VulnerableDriver.Hash
1103+
$Hashes = [String[]] $VulnerableDriver.Hash.Split(",")
11041104

11051105
if ($Hashes.Count -eq 0) {
11061106
Write-Warning "No hash found for entry with ID: $($VulnerableDriver.Id)"

0 commit comments

Comments
 (0)