mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
autoformat
This commit is contained in:
@@ -17,5 +17,4 @@ import LdapInjection::LdapInjection
|
||||
from LdapInjectionConfiguration config, DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where config.hasFlowPath(source, sink)
|
||||
select sink.getNode(), source, sink, "$@ might include code from $@.",
|
||||
sink.getNode().(Sink).getQueryCall(), "LDAP query call", source.getNode(),
|
||||
"user-provided value"
|
||||
sink.getNode().(Sink).getQueryCall(), "LDAP query call", source.getNode(), "user-provided value"
|
||||
|
||||
@@ -39,9 +39,8 @@ module LdapInjection {
|
||||
* An LDAP filter for an API call that executes an operation against the LDAP server.
|
||||
*/
|
||||
class LdapjsSearchFilterAsSink extends Sink {
|
||||
LdapjsSearchFilterAsSink() {
|
||||
this instanceof LdapjsSearchFilter
|
||||
}
|
||||
LdapjsSearchFilterAsSink() { this instanceof LdapjsSearchFilter }
|
||||
|
||||
override DataFlow::InvokeNode getQueryCall() {
|
||||
result = this.(LdapjsSearchFilter).getQueryCall()
|
||||
}
|
||||
@@ -51,12 +50,9 @@ module LdapInjection {
|
||||
* An LDAP DN argument for an API call that executes an operation against the LDAP server.
|
||||
*/
|
||||
class LdapjsDNArgumentAsSink extends Sink {
|
||||
LdapjsDNArgumentAsSink() {
|
||||
this instanceof LdapjsDNArgument
|
||||
}
|
||||
override DataFlow::InvokeNode getQueryCall() {
|
||||
result = this.(LdapjsDNArgument).getQueryCall()
|
||||
}
|
||||
LdapjsDNArgumentAsSink() { this instanceof LdapjsDNArgument }
|
||||
|
||||
override DataFlow::InvokeNode getQueryCall() { result = this.(LdapjsDNArgument).getQueryCall() }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user