File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
java/ql/src/experimental/Security/CWE/CWE-665 Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import semmle.code.java.dataflow.Nullness
19
19
20
20
/** Predicate which detects vulnerable Constructors */
21
21
predicate isRmiOrJmxServerCreateConstructor ( Constructor constructor ) {
22
- constructor .getName ( ) = "RMIConnectorServer" and
23
22
constructor
24
23
.getDeclaringType ( )
25
24
.hasQualifiedName ( "javax.management.remote.rmi" , "RMIConnectorServer" )
@@ -38,7 +37,7 @@ predicate isRmiOrJmxServerCreateMethod(Method method) {
38
37
class MapToPutCredentialstypeConfiguration extends DataFlow2:: Configuration {
39
38
MapToPutCredentialstypeConfiguration ( ) { this = "MapToPutCredentialstypeConfiguration" }
40
39
41
- override predicate isSource ( DataFlow :: Node source ) {
40
+ override predicate isSource ( DataFlow2 :: Node source ) {
42
41
source .asExpr ( ) .( ClassInstanceExpr ) .getConstructedType ( ) instanceof MapType
43
42
}
44
43
You can’t perform that action at this time.
0 commit comments