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 4214c83 commit 613a165Copy full SHA for 613a165
rust/ql/src/queries/security/CWE-312/CleartextLogging.ql
@@ -38,8 +38,7 @@ module CleartextLoggingConfig implements DataFlow::ConfigSig {
38
39
predicate isAdditionalFlowStep(Node node1, Node node2) {
40
// flow from `a` to `&a`
41
- node2.(Node::ExprNode).asExpr().getExpr().(RefExpr).getExpr() =
42
- node1.(Node::ExprNode).asExpr().getExpr()
+ node2.asExpr().getExpr().(RefExpr).getExpr() = node1.asExpr().getExpr()
43
}
44
45
predicate allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet c) {
0 commit comments