Skip to content

Commit 01b865f

Browse files
Update TimingAttack.qll
1 parent fbfe23b commit 01b865f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,7 @@ private class CompareSink extends DataFlow::Node {
307307
)
308308
) or
309309
exists(Compare compare |
310-
(
311-
compare.getOp(0) instanceof Eq or
312-
compare.getOp(0) instanceof NotEq or
310+
(
313311
compare.getOp(0) instanceof IsNot
314312
) and
315313
(

0 commit comments

Comments
 (0)