mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
change name
This commit is contained in:
@@ -12,8 +12,8 @@ class CastorUnmarshaller extends RefType {
|
||||
}
|
||||
|
||||
/** A method with the name `unmarshal` declared in `org.exolab.castor.xml.Unmarshaller`. */
|
||||
class UnmarshalMethod extends Method {
|
||||
UnmarshalMethod() {
|
||||
class CastorUnmarshalMethod extends Method {
|
||||
CastorUnmarshalMethod() {
|
||||
this.getDeclaringType() instanceof CastorUnmarshaller and
|
||||
this.getName() = "unmarshal"
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ predicate unsafeDeserialization(MethodAccess ma, Expr sink) {
|
||||
or
|
||||
ma.getMethod() instanceof UnsafeHessianInputReadObjectMethod and sink = ma.getQualifier()
|
||||
or
|
||||
ma.getMethod() instanceof UnmarshalMethod and sink = ma.getAnArgument()
|
||||
ma.getMethod() instanceof CastorUnmarshalMethod and sink = ma.getAnArgument()
|
||||
or
|
||||
ma.getMethod() instanceof BurlapInputReadObjectMethod and sink = ma.getQualifier()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user