Skip to content

Commit 1623ce2

Browse files
committed
Java/ConditionalBypass
java/ql/src/Security/CWE/CWE-807/ConditionalBypass.ql
1 parent 9667b41 commit 1623ce2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/ql/lib/semmle/code/java/security/ConditionalBypassQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ module ConditionalBypassFlowConfig implements DataFlow::ConfigSig {
5151
predicate observeDiffInformedIncrementalMode() { any() }
5252

5353
Location getASelectedSinkLocation(DataFlow::Node sink) {
54+
result = sink.getLocation()
55+
or
5456
exists(MethodCall m, Expr e | result = [m, e].getLocation() |
5557
conditionControlsMethod(m, e) and
5658
sink.asExpr() = e

0 commit comments

Comments
 (0)