mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
Include changes from review
This commit is contained in:
@@ -92,9 +92,9 @@ module Pycurl {
|
||||
) {
|
||||
sslverifypeer().getAValueReachableFromSource() = this.getArg(0) and
|
||||
(
|
||||
exists(IntegerLiteral i | i.getValue() = 0 and this.getArg(1).asExpr() = i)
|
||||
this.getArg(1).asExpr().(IntegerLiteral).getValue() = 0
|
||||
or
|
||||
exists(BooleanLiteral b | b.booleanValue() = false and this.getArg(_).asExpr() = b)
|
||||
this.getArg(1).asExpr().(BooleanLiteral).booleanValue() = false
|
||||
) and
|
||||
(disablingNode = this and argumentOrigin = this.getArg(1))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user