Skip to content

Commit 6a578c6

Browse files
Update TimingAttack.qll
1 parent ccbb589 commit 6a578c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/ql/src/experimental/semmle/python/security/TimingAttack.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,7 @@ class CompareSink extends DataFlow::Node {
316316
exists(Compare compare |
317317
(
318318
compare.getOp(0) instanceof Eq or
319-
compare.getOp(0) instanceof NotEq or
320-
compare.getOp(0) instanceof In
319+
compare.getOp(0) instanceof NotEq
321320
) and
322321
(
323322
compare.getLeft() = this.asExpr() and

0 commit comments

Comments
 (0)