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.
Unit
TaintTracking
1 parent 7f7ad88 commit 5a81942Copy full SHA for 5a81942
1 file changed
java/ql/src/semmle/code/java/security/LdapInjection.qll
@@ -13,18 +13,12 @@ abstract class LdapInjectionSink extends DataFlow::Node { }
13
/** A sanitizer that prevents LDAP injection attacks. */
14
abstract class LdapInjectionSanitizer extends DataFlow::Node { }
15
16
-private newtype TUnit = TMkUnit()
17
-
18
-class Unit extends TUnit {
19
- string toString() { result = "unit" }
20
-}
21
22
/**
23
* A unit class for adding additional taint steps.
24
*
25
* Extend this class to add additional taint steps that should apply to the LdapInjectionFlowConfig.
26
*/
27
-class LdapInjectionAdditionalTaintStep extends Unit {
+class LdapInjectionAdditionalTaintStep extends TaintTracking::Unit {
28
abstract predicate step(DataFlow::Node node1, DataFlow::Node node2);
29
}
30
0 commit comments