File tree Expand file tree Collapse file tree
java/ql/src/experimental/Security/CWE/CWE-665 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import semmle.code.java.dataflow.Nullness
1919
2020/** Predicate which detects vulnerable Constructors */
2121predicate isRmiOrJmxServerCreateConstructor ( Constructor constructor ) {
22- constructor .getName ( ) = "RMIConnectorServer" and
2322 constructor
2423 .getDeclaringType ( )
2524 .hasQualifiedName ( "javax.management.remote.rmi" , "RMIConnectorServer" )
@@ -38,7 +37,7 @@ predicate isRmiOrJmxServerCreateMethod(Method method) {
3837class MapToPutCredentialstypeConfiguration extends DataFlow2:: Configuration {
3938 MapToPutCredentialstypeConfiguration ( ) { this = "MapToPutCredentialstypeConfiguration" }
4039
41- override predicate isSource ( DataFlow :: Node source ) {
40+ override predicate isSource ( DataFlow2 :: Node source ) {
4241 source .asExpr ( ) .( ClassInstanceExpr ) .getConstructedType ( ) instanceof MapType
4342 }
4443
You can’t perform that action at this time.
0 commit comments