Skip to content

Commit e616122

Browse files
Rename parameter
1 parent fede77a commit e616122

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ private predicate maybeEmptyArrayArg(Expr ex) {
5353
/**
5454
* Holds if a `sendBroadcast` call doesn't specify receiver permission.
5555
*/
56-
private predicate isSensitiveBroadcastSink(DataFlow::Node sink) {
56+
private predicate isSensitiveBroadcastSink(DataFlow::Node sendBroadcastCallArg) {
5757
exists(SendBroadcastMethodAccess ma, string name | ma.getMethod().hasName(name) |
58-
sink.asExpr() = ma.getAnArgument() and
58+
sendBroadcastCallArg.asExpr() = ma.getAnArgument() and
5959
(
6060
name = "sendBroadcast" and
6161
(

0 commit comments

Comments
 (0)