We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed27f4 commit 17b261aCopy full SHA for 17b261a
cpp/ql/src/Security/CWE/CWE-290/AuthenticationBypass.ql
@@ -76,7 +76,9 @@ module Config implements DataFlow::ConfigSig {
76
predicate observeDiffInformedIncrementalMode() { any() }
77
78
Location getASelectedSinkLocation(DataFlow::Node sink) {
79
- exists(Expr condition | result = condition.getLocation() | isSink(sink, condition))
+ exists(Expr condition | result = [condition.getLocation(), sink.getLocation()] |
80
+ isSink(sink, condition)
81
+ )
82
}
83
84
0 commit comments