Skip to content

Commit c744d1e

Browse files
committed
C++: AuthenticationBypass
1 parent 07189fe commit c744d1e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

cpp/ql/src/Security/CWE/CWE-290/AuthenticationBypass.ql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ module Config implements DataFlow::ConfigSig {
7373

7474
predicate isSink(DataFlow::Node sink) { isSink(sink, _) }
7575

76-
predicate observeDiffInformedIncrementalMode() {
77-
any() // TODO: Make sure that the location overrides match the query's select clause: Column 1 does not select a source or sink originating from the flow call on line 84 (/Users/d10c/src/semmle-code/ql/cpp/ql/src/Security/CWE/CWE-290/AuthenticationBypass.ql@86:8:86:16)
76+
predicate observeDiffInformedIncrementalMode() { any() }
77+
78+
Location getASelectedSinkLocation(DataFlow::Node sink) {
79+
exists(Expr condition | result = condition.getLocation() | isSink(sink, condition))
7880
}
7981
}
8082

0 commit comments

Comments
 (0)