Skip to content

Commit 0846d1f

Browse files
authored
Merge pull request github#7691 from atorralba/atorralba/fix-recursion-entrypointfieldstep
Java: Fix recursion in `entrypointFieldStep`
2 parents 4fd0ada + d22632e commit 0846d1f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

java/ql/lib/semmle/code/java/dataflow/internal/TaintTrackingUtil.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ private module Cached {
9292
)
9393
or
9494
FlowSummaryImpl::Private::Steps::summaryLocalStep(src, sink, false)
95-
or
96-
entrypointFieldStep(src, sink)
9795
}
9896

9997
/**
@@ -103,6 +101,7 @@ private module Cached {
103101
cached
104102
predicate defaultAdditionalTaintStep(DataFlow::Node src, DataFlow::Node sink) {
105103
localAdditionalTaintStep(src, sink) or
104+
entrypointFieldStep(src, sink) or
106105
any(AdditionalTaintStep a).step(src, sink)
107106
}
108107

0 commit comments

Comments
 (0)