mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: Fix after merge.
This commit is contained in:
@@ -25,7 +25,7 @@ module DisabledCertificateCheckConfig implements DataFlow::ConfigSig {
|
||||
|
||||
predicate isSource(DataFlow::Node node) {
|
||||
// the constant `true`
|
||||
node.asExpr().getExpr().(BooleanLiteralExpr).getTextValue() = "true"
|
||||
node.asExpr().(BooleanLiteralExpr).getTextValue() = "true"
|
||||
or
|
||||
// a value controlled by a potential attacker
|
||||
node instanceof ActiveThreatModelSource
|
||||
|
||||
Reference in New Issue
Block a user