mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Ensure filename is not null when loggin WDAC ETW events (#20910)
This commit is contained in:
@@ -141,7 +141,7 @@ namespace System.Management.Automation.Tracing
|
||||
int querySuccess,
|
||||
int queryResult)
|
||||
{
|
||||
provider.LogWDACQueryEvent(queryName, fileName, querySuccess, queryResult);
|
||||
provider.LogWDACQueryEvent(queryName, fileName ?? string.Empty, querySuccess, queryResult);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user