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 e152b9b commit 3d59f5bCopy full SHA for 3d59f5b
java/ql/lib/semmle/code/java/security/MaybeBrokenCryptoAlgorithmQuery.qll
@@ -81,7 +81,9 @@ module InsecureCryptoConfig implements DataFlow::ConfigSig {
81
predicate observeDiffInformedIncrementalMode() { any() }
82
83
Location getASelectedSinkLocation(DataFlow::Node sink) {
84
- exists(CryptoAlgoSpec c | result = c.getLocation() | sink.asExpr() = c.getAlgoSpec())
+ exists(CryptoAlgoSpec c | result = sink.getLocation() or result = c.getLocation() |
85
+ sink.asExpr() = c.getAlgoSpec()
86
+ )
87
}
88
89
0 commit comments