mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Use getDeclaringType() for getIntent() method call
This commit is contained in:
@@ -313,7 +313,7 @@ class AndroidIntentInput extends DataFlow::Node {
|
||||
exists(MethodAccess ma, AndroidGetIntentMethod m |
|
||||
ma.getMethod().overrides*(m) and
|
||||
this.asExpr() = ma and
|
||||
receiverType = ma.getEnclosingCallable().getDeclaringType()
|
||||
receiverType = ma.getReceiverType()
|
||||
)
|
||||
or
|
||||
exists(Method m, AndroidReceiveIntentMethod rI |
|
||||
|
||||
Reference in New Issue
Block a user