Skip to content

Commit f301e46

Browse files
committed
Remove isEmptyPassword predicate
1 parent 5f502ec commit f301e46

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

ruby/ql/lib/codeql/ruby/Concepts.qll

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,16 +1264,6 @@ class LdapBind extends DataFlow::Node instanceof LdapBind::Range {
12641264
/** Gets the argument containing the binding expression. */
12651265
DataFlow::Node getPassword() { result = super.getPassword() }
12661266

1267-
/** Holds if the binding process is anonymous. */
1268-
predicate isEmptyPassword() {
1269-
(
1270-
this.getPassword().getConstantValue().isStringlikeValue("")
1271-
or
1272-
this.getPassword().(DataFlow::ExprNode).getExprNode().getConstantValue().getValueType() =
1273-
"nil"
1274-
)
1275-
}
1276-
12771267
/** Holds if the binding process use SSL. */
12781268
predicate usesSsl() { super.usesSsl() }
12791269
}

0 commit comments

Comments
 (0)