Skip to content

Commit a074edd

Browse files
committed
Go: InsecureHostKeyCallback
1 parent e464e96 commit a074edd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

go/ql/src/Security/CWE-322/InsecureHostKeyCallback.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ module Config implements DataFlow::ConfigSig {
6969

7070
predicate isSink(DataFlow::Node sink) { writeIsSink(sink, _) }
7171

72-
predicate observeDiffInformedIncrementalMode() {
73-
any() // TODO: Make sure that the location overrides match the query's select clause: Flow call outside 'select' clause (/Users/d10c/src/semmle-code/ql/go/ql/src/Security/CWE-322/InsecureHostKeyCallback.ql@90:7:90:34), Flow call outside 'select' clause (/Users/d10c/src/semmle-code/ql/go/ql/src/Security/CWE-322/InsecureHostKeyCallback.ql@96:9:96:41)
74-
}
72+
predicate observeDiffInformedIncrementalMode() { any() }
7573
}
7674

7775
/**

0 commit comments

Comments
 (0)