Skip to content

Commit 8665747

Browse files
committed
Update sink and sanitizer to match new naming
1 parent 2ad72ad commit 8665747

File tree

1 file changed

+2
-2
lines changed
  • python/ql/src/experimental/semmle/python/security/injection

1 file changed

+2
-2
lines changed

python/ql/src/experimental/semmle/python/security/injection/LDAP.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ class LDAPInjectionFlowConfig extends TaintTracking::Configuration {
1616

1717
override predicate isSource(DataFlow::Node source) { source instanceof RemoteFlowSource }
1818

19-
override predicate isSink(DataFlow::Node sink) { sink = any(LDAPQuery ldapQuery).getLDAPNode() }
19+
override predicate isSink(DataFlow::Node sink) { sink = any(LDAPQuery ldapQuery).getQuery() }
2020

2121
override predicate isSanitizer(DataFlow::Node sanitizer) {
22-
sanitizer = any(LDAPEscape ldapEsc).getEscapeNode()
22+
sanitizer = any(LDAPEscape ldapEsc).getAnInput()
2323
}
2424
}

0 commit comments

Comments
 (0)