Skip to content

Commit fbfe23b

Browse files
Update TimingAttack.qll
1 parent b8f9b2b commit fbfe23b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ private class CompareSink extends DataFlow::Node {
308308
) or
309309
exists(Compare compare |
310310
(
311+
compare.getOp(0) instanceof Eq or
312+
compare.getOp(0) instanceof NotEq or
311313
compare.getOp(0) instanceof IsNot
312314
) and
313315
(

0 commit comments

Comments
 (0)