Update TimingAttack.qll

This commit is contained in:
Ahmed Farid
2022-08-15 11:18:31 +01:00
committed by GitHub
parent 01490414e8
commit 0e0c6e08b5

View File

@@ -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. */