Skip to content

Commit 84a16b3

Browse files
committed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

swift/ql/lib/codeql/swift/security/InsecureTLSQuery.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ module InsecureTlsConfig implements DataFlow::ConfigSig {
2121
predicate isAdditionalFlowStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) {
2222
any(InsecureTlsExtensionsAdditionalFlowStep s).step(nodeFrom, nodeTo)
2323
}
24+
25+
predicate observeDiffInformedIncrementalMode() {
26+
none() // query selects some Swift nodes (e.g. "[post] self") that have location file://:0:0:0:0, which always fall outside the diff range.
27+
}
2428
}
2529

2630
module InsecureTlsFlow = TaintTracking::Global<InsecureTlsConfig>;

0 commit comments

Comments
 (0)