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 3cf28ad commit 353c0a9Copy full SHA for 353c0a9
python/ql/src/experimental/semmle/python/frameworks/LDAP.qll
@@ -116,6 +116,7 @@ private module LDAP {
116
override predicate useSSL() {
117
// use initialize to correlate `this` and so avoid FP in several instances
118
exists(DataFlow::CallCfgNode initialize |
119
+ // ldap.set_option(ldap.OPT_X_TLS_%s)
120
ldap().getMember("set_option").getACall().getArg(_) instanceof LDAPSSLOptions
121
or
122
this.getFunction().(DataFlow::AttrRead).getObject().getALocalSource() = initialize and
0 commit comments