Skip to content

Commit 0012fef

Browse files
authored
Merge pull request #2497 from hvitved/csharp/remove-cp
C#: Remove a Cartesian product
2 parents 964f2f2 + 3a95cd5 commit 0012fef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

csharp/ql/src/semmle/code/csharp/dataflow/internal/TaintTrackingPrivate.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ private class LocalTaintExprStepConfiguration extends ControlFlowReachabilityCon
117117
e2 = any(OperatorCall oc |
118118
oc.getTarget().(ConversionOperator).fromLibrary() and
119119
e1 = oc.getAnArgument() and
120+
scope = e2 and
120121
isSuccessor = true
121122
)
122123
)

0 commit comments

Comments
 (0)