mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Rename parameter
This commit is contained in:
@@ -53,9 +53,9 @@ private predicate maybeEmptyArrayArg(Expr ex) {
|
||||
/**
|
||||
* Holds if a `sendBroadcast` call doesn't specify receiver permission.
|
||||
*/
|
||||
private predicate isSensitiveBroadcastSink(DataFlow::Node sink) {
|
||||
private predicate isSensitiveBroadcastSink(DataFlow::Node sendBroadcastCallArg) {
|
||||
exists(SendBroadcastMethodAccess ma, string name | ma.getMethod().hasName(name) |
|
||||
sink.asExpr() = ma.getAnArgument() and
|
||||
sendBroadcastCallArg.asExpr() = ma.getAnArgument() and
|
||||
(
|
||||
name = "sendBroadcast" and
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user