We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ef2d79 commit f6369a6Copy full SHA for f6369a6
python/ql/lib/semmle/python/frameworks/Pycurl.qll
@@ -92,9 +92,9 @@ module Pycurl {
92
) {
93
sslverifypeer().getAValueReachableFromSource() = this.getArg(0) and
94
(
95
- exists(IntegerLiteral i | i.getValue() = 0 and this.getArg(1).asExpr() = i)
+ this.getArg(1).asExpr().(IntegerLiteral).getValue() = 0
96
or
97
- exists(BooleanLiteral b | b.booleanValue() = false and this.getArg(_).asExpr() = b)
+ this.getArg(1).asExpr().(BooleanLiteral).booleanValue() = false
98
) and
99
(disablingNode = this and argumentOrigin = this.getArg(1))
100
}
0 commit comments