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() {
|
override DataFlow::FlowFeature getAFeature() {
|
||||||
result instanceof DataFlow::FeatureEqualSourceSinkCallContext
|
result instanceof DataFlow::FeatureEqualSourceSinkCallContext
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
| p;Joiner;false;merge;(Joiner);;Argument[-1];ReturnValue;value |
|
| p;Joiner;false;merge;(Joiner);;Argument[-1];ReturnValue;value |
|
||||||
| p;Joiner;false;setEmptyValue;(CharSequence);;Argument[-1];ReturnValue;value |
|
| p;Joiner;false;setEmptyValue;(CharSequence);;Argument[-1];ReturnValue;value |
|
||||||
| p;Joiner;false;setEmptyValue;(CharSequence);;Argument[0];Argument[-1];taint |
|
| p;Joiner;false;setEmptyValue;(CharSequence);;Argument[0];Argument[-1];taint |
|
||||||
| p;Joiner;false;setEmptyValue;(CharSequence);;Argument[0];ReturnValue;taint |
|
|
||||||
| p;Joiner;false;toString;();;Argument[-1];ReturnValue;taint |
|
| p;Joiner;false;toString;();;Argument[-1];ReturnValue;taint |
|
||||||
| p;MultipleImpls$Strat2;true;getValue;();;Argument[-1];ReturnValue;taint |
|
| p;MultipleImpls$Strat2;true;getValue;();;Argument[-1];ReturnValue;taint |
|
||||||
| p;MultipleImpls$Strategy;true;doSomething;(String);;Argument[0];Argument[-1];taint |
|
| p;MultipleImpls$Strategy;true;doSomething;(String);;Argument[0];Argument[-1];taint |
|
||||||
|
|||||||
Reference in New Issue
Block a user