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 057e266 commit 3e3e856Copy full SHA for 3e3e856
swift/ql/lib/codeql/swift/security/InsecureTLSQuery.qll
@@ -22,9 +22,9 @@ module InsecureTlsConfig implements DataFlow::ConfigSig {
22
any(InsecureTlsExtensionsAdditionalFlowStep s).step(nodeFrom, nodeTo)
23
}
24
25
- predicate observeDiffInformedIncrementalMode() { any() }
26
-
27
- Location getASelectedSourceLocation(DataFlow::Node source) { none() }
+ predicate observeDiffInformedIncrementalMode() {
+ 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.
+ }
28
29
30
module InsecureTlsFlow = TaintTracking::Global<InsecureTlsConfig>;
0 commit comments