Skip to content

Commit a38d57f

Browse files
committed
PS: Fix cartesian product.
1 parent f513259 commit a38d57f

File tree

1 file changed

+1
-0
lines changed
  • powershell/ql/lib/semmle/code/powershell/ast/internal

1 file changed

+1
-0
lines changed

powershell/ql/lib/semmle/code/powershell/ast/internal/Synthesis.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -897,6 +897,7 @@ private module PipelineAccess {
897897
exists(PipelineByPropertyNameParameter pipelineVar, Raw::PipelineByPropertyNameParameter p |
898898
i = processBlockPipelineByPropertyNameVarReadAccess(p.getLowerCaseName()) and
899899
getResultAst(p) = pipelineVar and
900+
pipelineVar = TVariableSynth(pb.getScriptBlock(), _) and
900901
child = SynthChild(VarAccessSynthKind(pipelineVar))
901902
)
902903
)

0 commit comments

Comments
 (0)