Skip to content

Commit 042d071

Browse files
committed
Rename getQueryCall to getQueryCallSink
1 parent 15562e4 commit 042d071

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

javascript/ql/src/experimental/Security/CWE-090/LdapInjectionCustomizations.qll

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module LdapInjection {
2020
/**
2121
* Gets the LDAP query call that the sink flows into.
2222
*/
23-
abstract DataFlow::Node getQueryCall();
23+
abstract DataFlow::Node getQueryCallSink();
2424
}
2525

2626
/**
@@ -39,7 +39,7 @@ module LdapInjection {
3939
* An LDAP filter for an API call that executes an operation against the LDAP server.
4040
*/
4141
class LdapjsSearchFilterAsSink extends Sink, LdapjsSearchFilter {
42-
override DataFlow::InvokeNode getQueryCall() {
42+
override DataFlow::InvokeNode getQueryCallSink() {
4343
result = this.(LdapjsSearchFilter).getQueryCall()
4444
}
4545
}
@@ -48,7 +48,9 @@ module LdapInjection {
4848
* An LDAP DN argument for an API call that executes an operation against the LDAP server.
4949
*/
5050
class LdapjsDNArgumentAsSink extends Sink, LdapjsDNArgument {
51-
override DataFlow::InvokeNode getQueryCall() { result = this.(LdapjsDNArgument).getQueryCall() }
51+
override DataFlow::InvokeNode getQueryCallSink() {
52+
result = this.(LdapjsDNArgument).getQueryCall()
53+
}
5254
}
5355

5456
/**

0 commit comments

Comments
 (0)