Skip to content

Commit c3d1165

Browse files
Revert change to argument handling
1 parent 6a2346e commit c3d1165

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
@@ -55,7 +55,7 @@ private predicate isEmptyArrayArg(Expr ex) {
5555
*/
5656
private predicate isSensitiveBroadcastSink(DataFlow::Node sink) {
5757
exists(SendBroadcastMethodAccess ma, string name | ma.getMethod().hasName(name) |
58-
sink.asExpr() = ma.getArgument(0) and
58+
sink.asExpr() = ma.getAnArgument() and
5959
(
6060
name = "sendBroadcast" and
6161
(

0 commit comments

Comments
 (0)