@@ -40,20 +40,20 @@ private class UnsafeSearchControlsSink extends JndiInjectionSink {
40
40
41
41
/**
42
42
* Find flows between a `SearchControls` object with `setReturningObjFlag` = `true`
43
- * and an argument of a `LdapOperations.search` or `DirContext.search` call.
43
+ * and an argument of an `LdapOperations.search` or `DirContext.search` call.
44
44
*/
45
45
private class UnsafeSearchControlsConf extends DataFlow2:: Configuration {
46
46
UnsafeSearchControlsConf ( ) { this = "UnsafeSearchControlsConf" }
47
47
48
- override predicate isSource ( DataFlow2 :: Node source ) { source instanceof UnsafeSearchControls }
48
+ override predicate isSource ( DataFlow :: Node source ) { source instanceof UnsafeSearchControls }
49
49
50
- override predicate isSink ( DataFlow2 :: Node sink ) { sink instanceof UnsafeSearchControlsArgument }
50
+ override predicate isSink ( DataFlow :: Node sink ) { sink instanceof UnsafeSearchControlsArgument }
51
51
}
52
52
53
53
/**
54
- * An argument of type `SearchControls` of a a `LdapOperations.search` or `DirContext.search` call.
54
+ * An argument of type `SearchControls` of an `LdapOperations.search` or `DirContext.search` call.
55
55
*/
56
- private class UnsafeSearchControlsArgument extends DataFlow2 :: ExprNode {
56
+ private class UnsafeSearchControlsArgument extends DataFlow :: ExprNode {
57
57
UnsafeSearchControlsArgument ( ) {
58
58
exists ( MethodAccess ma , Method m |
59
59
ma .getMethod ( ) = m and
@@ -70,7 +70,7 @@ private class UnsafeSearchControlsArgument extends DataFlow2::ExprNode {
70
70
/**
71
71
* A `SearchControls` object with `setReturningObjFlag` = `true`.
72
72
*/
73
- private class UnsafeSearchControls extends DataFlow2 :: ExprNode {
73
+ private class UnsafeSearchControls extends DataFlow :: ExprNode {
74
74
UnsafeSearchControls ( ) {
75
75
exists ( MethodAccess ma |
76
76
ma .getMethod ( ) instanceof SetReturningObjFlagMethod and
@@ -95,8 +95,3 @@ private class SetReturningObjFlagMethod extends Method {
95
95
this .hasName ( "setReturningObjFlag" )
96
96
}
97
97
}
98
-
99
- /** The class `java.util.Hashtable`. */
100
- private class TypeHashtable extends Class {
101
- TypeHashtable ( ) { this .getSourceDeclaration ( ) .hasQualifiedName ( "java.util" , "Hashtable" ) }
102
- }
0 commit comments