We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
java/ldap-injection
1 parent 12eb979 commit 2e685e7Copy full SHA for 2e685e7
java/ql/lib/semmle/code/java/security/LdapInjection.qll
@@ -38,6 +38,10 @@ private class DefaultLdapInjectionSink extends LdapInjectionSink {
38
/** A sanitizer that clears the taint on (boxed) primitive types. */
39
private class DefaultLdapSanitizer extends LdapInjectionSanitizer instanceof SimpleTypeSanitizer { }
40
41
+private class ExternalLdapInjectionSanitizer extends LdapInjectionSanitizer {
42
+ ExternalLdapInjectionSanitizer() { barrierNode(this, "ldap-injection") }
43
+}
44
+
45
/**
46
* Holds if `n1` to `n2` is a dataflow step that converts between `String` and `LdapName`,
47
* i.e. `new LdapName(tainted)`.
0 commit comments