Add missing comment

This commit is contained in:
jorgectf
2021-09-12 20:44:04 +02:00
parent 3cf28ad6ce
commit 353c0a9ee7

View File

@@ -116,6 +116,7 @@ private module LDAP {
override predicate useSSL() {
// use initialize to correlate `this` and so avoid FP in several instances
exists(DataFlow::CallCfgNode initialize |
// ldap.set_option(ldap.OPT_X_TLS_%s)
ldap().getMember("set_option").getACall().getArg(_) instanceof LDAPSSLOptions
or
this.getFunction().(DataFlow::AttrRead).getObject().getALocalSource() = initialize and