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.
isEmptyPassword
1 parent 5f502ec commit f301e46Copy full SHA for f301e46
ruby/ql/lib/codeql/ruby/Concepts.qll
@@ -1264,16 +1264,6 @@ class LdapBind extends DataFlow::Node instanceof LdapBind::Range {
1264
/** Gets the argument containing the binding expression. */
1265
DataFlow::Node getPassword() { result = super.getPassword() }
1266
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
-
1277
/** Holds if the binding process use SSL. */
1278
predicate usesSsl() { super.usesSsl() }
1279
}
0 commit comments