Skip to content

Commit f6369a6

Browse files
author
Porcupiney Hairs
committed
Include changes from review
1 parent 7ef2d79 commit f6369a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/lib/semmle/python/frameworks/Pycurl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ module Pycurl {
9292
) {
9393
sslverifypeer().getAValueReachableFromSource() = this.getArg(0) and
9494
(
95-
exists(IntegerLiteral i | i.getValue() = 0 and this.getArg(1).asExpr() = i)
95+
this.getArg(1).asExpr().(IntegerLiteral).getValue() = 0
9696
or
97-
exists(BooleanLiteral b | b.booleanValue() = false and this.getArg(_).asExpr() = b)
97+
this.getArg(1).asExpr().(BooleanLiteral).booleanValue() = false
9898
) and
9999
(disablingNode = this and argumentOrigin = this.getArg(1))
100100
}

0 commit comments

Comments
 (0)