Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65e76ab commit 87668bfCopy full SHA for 87668bf
1 file changed
java/ql/src/semmle/code/java/dataflow/FlowSources.qll
@@ -298,7 +298,10 @@ private class AndroidIntentExtraSource extends RemoteFlowSource {
298
AndroidIntentExtraSource() {
299
exists(MethodAccess ma |
300
ma instanceof IntentGetExtraMethodAccess and
301
- this.asExpr().(VarAccess).getVariable().getAnAssignedValue() = ma
+ (
302
+ this.asExpr().(VarAccess).getVariable().getAnAssignedValue() = ma or
303
+ ma.getQualifier() = this.asExpr()
304
+ )
305
)
306
}
307
0 commit comments