mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Update TimingAttack.qll
This commit is contained in:
@@ -52,8 +52,7 @@ class NonConstantTimeComparisonSink extends DataFlow::Node {
|
||||
Expr anotherParameter;
|
||||
|
||||
NonConstantTimeComparisonSink() {
|
||||
existsFailFastCheck(this.asExpr(), anotherParameter) and
|
||||
not anotherParameter.isConstant()
|
||||
existsFailFastCheck(this.asExpr(), anotherParameter)
|
||||
}
|
||||
|
||||
/** Holds if remote user input was used in the comparison. */
|
||||
|
||||
Reference in New Issue
Block a user