mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Java: isPublic and fromSource check as this is already ensured by the TargetApi characteristic predicate.
This commit is contained in:
@@ -18,9 +18,7 @@ class FromSourceConfiguration extends TaintTracking::Configuration {
|
||||
override predicate isSink(DataFlow::Node sink) {
|
||||
exists(TargetApi c |
|
||||
sink instanceof ReturnNodeExt and
|
||||
sink.getEnclosingCallable() = c and
|
||||
c.isPublic() and
|
||||
c.fromSource()
|
||||
sink.getEnclosingCallable() = c
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user