Skip to content

Commit 3a95cd5

Browse files
committed
C#: Remove a Cartesian product
1 parent a3efcf6 commit 3a95cd5

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)