mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Java: Fix bug in model flow sanitizer.
This commit is contained in:
committed by
Michael Nebel
parent
16a5ccddea
commit
908cc40c9f
@@ -80,7 +80,9 @@ class ThroughFlowConfig extends TaintTracking::Configuration {
|
||||
)
|
||||
}
|
||||
|
||||
override predicate isSanitizer(DataFlow::Node n) { not isRelevantType(n.getType()) }
|
||||
override predicate isSanitizer(DataFlow::Node n) {
|
||||
exists(Type t | t = n.getType() and not isRelevantType(t))
|
||||
}
|
||||
|
||||
override DataFlow::FlowFeature getAFeature() {
|
||||
result instanceof DataFlow::FeatureEqualSourceSinkCallContext
|
||||
|
||||
Reference in New Issue
Block a user