Skip to content

Commit e2e5545

Browse files
committed
Update LdapjsSearchOptions and getQueryCall
1 parent 8f00acd commit e2e5545

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

javascript/ql/src/experimental/Security/CWE-090/LdapInjection.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ import LdapInjection::LdapInjection
1717
from LdapInjectionConfiguration config, DataFlow::PathNode source, DataFlow::PathNode sink
1818
where config.hasFlowPath(source, sink)
1919
select sink.getNode(), source, sink, "$@ might include code from $@.",
20-
sink.getNode().(Sink).getQueryCall(), "LDAP query call", source.getNode(), "user-provided value"
20+
sink.getNode().(Sink).getQueryCallSink(), "LDAP query call", source.getNode(),
21+
"user-provided value"

0 commit comments

Comments
 (0)