mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Update javascript/ql/src/experimental/Security/CWE-090/LdapInjectionCustomizations.qll
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
committed by
GitHub
parent
548cb65a64
commit
785f335ab8
@@ -50,8 +50,11 @@ module LdapInjection {
|
||||
/**
|
||||
* An LDAP DN argument for an API call that executes an operation against the LDAP server.
|
||||
*/
|
||||
class LdapjsDNArgumentAsSink extends Sink, LdapjsDNArgument {
|
||||
override DataFlow::InvokeNode getQueryCallSink() {
|
||||
class LdapjsDNArgumentAsSink extends Sink {
|
||||
LdapjsDNArgumentAsSink() {
|
||||
this instanceof LdapjsDNArgument
|
||||
}
|
||||
override DataFlow::InvokeNode getQueryCall() {
|
||||
result = this.(LdapjsDNArgument).getQueryCall()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user