Skip to content

Commit 05a7cfd

Browse files
committed
PS: Don't implicitly read any element. Instead, only read positional contents.
1 parent 25d94fa commit 05a7cfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powershell/ql/lib/semmle/code/powershell/dataflow/internal/TaintTrackingPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ predicate defaultTaintSanitizer(DataFlow::Node node) { none() }
1818
bindingset[node]
1919
predicate defaultImplicitTaintRead(DataFlow::Node node, DataFlow::ContentSet c) {
2020
node instanceof ArgumentNode and
21-
c.isAnyElement()
21+
c.isAnyPositional()
2222
}
2323

2424
cached

0 commit comments

Comments
 (0)