Skip to content

Commit 1e8dd7a

Browse files
Use subclasses of context for sinks
1 parent 143920e commit 1e8dd7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/semmle/code/java/security/AndroidSensitiveBroadcastQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class SensitiveInfoExpr extends Expr {
4848
*/
4949
class SendBroadcastMethodAccess extends MethodAccess {
5050
SendBroadcastMethodAccess() {
51-
this.getMethod().getDeclaringType() instanceof TypeContext and
51+
this.getMethod().getDeclaringType().getASourceSupertype*() instanceof TypeContext and
5252
this.getMethod().getName().matches("send%Broadcast%")
5353
}
5454
}

0 commit comments

Comments
 (0)