PS: Add another missing flow found by Chanel.

This commit is contained in:
Mathias Vorreiter Pedersen
2025-04-01 19:11:12 +01:00
parent 898297b542
commit 1c380fb7fb

View File

@@ -36,4 +36,13 @@ ThreeArgs -z $third -y $second $first
ThreeArgs -z $third $second -x $first
ThreeArgs -z $third -x $first $second
ThreeArgs -z $third $first -y $second
ThreeArgs -z $third -y $second $first
ThreeArgs -z $third -y $second $first
function Invoke-InvokeExpressionInjection2
{
param($UserInput)
Sink $UserInput # $ MISSING: hasValueFlow=1
}
$input = Source "1"
Invoke-InvokeExpressionInjection2 -UserInput $input