Skip to content

Commit e288b07

Browse files
geoffw0MathiasVP
andauthored
Update swift/ql/src/queries/Summary/SummaryStats.ql
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent 80cd994 commit e288b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/src/queries/Summary/SummaryStats.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TaintReachConfig extends TaintTracking::Configuration {
2525

2626
float taintReach() {
2727
exists(TaintReachConfig config, int tainted, int total |
28-
tainted = count(DataFlow::Node n | config.hasFlow(_, n)) and
28+
tainted = count(DataFlow::Node n | config.hasFlowTo(n)) and
2929
total = count(DataFlow::Node n) and
3030
result = (tainted * 1000000.0) / total
3131
)

0 commit comments

Comments
 (0)