mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Revert change to argument handling
This commit is contained in:
@@ -55,7 +55,7 @@ private predicate isEmptyArrayArg(Expr ex) {
|
||||
*/
|
||||
private predicate isSensitiveBroadcastSink(DataFlow::Node sink) {
|
||||
exists(SendBroadcastMethodAccess ma, string name | ma.getMethod().hasName(name) |
|
||||
sink.asExpr() = ma.getArgument(0) and
|
||||
sink.asExpr() = ma.getAnArgument() and
|
||||
(
|
||||
name = "sendBroadcast" and
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user