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 48604cd commit a62eae5Copy full SHA for a62eae5
java/ql/src/experimental/Security/CWE/CWE-297/IgnoredHostnameVerification.ql
@@ -22,8 +22,6 @@ private class HostnameVerificationCall extends MethodAccess {
22
23
/** Holds if the result of the call is not used. */
24
predicate isIgnored() {
25
- not exists(Expr expr | this = expr.getAChildExpr()) and
26
- not exists(IfStmt ifStmt | this = ifStmt.getCondition()) and
27
this = any(ExprStmt es).getExpr()
28
}
29
0 commit comments