Skip to content

Commit 6679466

Browse files
committed
Remove unneeded implicit read step
1 parent a0a9144 commit 6679466

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,7 @@ class ImplicitPendingIntentStartConf extends TaintTracking::Configuration {
3636
super.allowImplicitRead(node, c)
3737
or
3838
this.isSink(node) and
39-
(
40-
allowIntentExtrasImplicitRead(node, c) or
41-
c.(DataFlow::SyntheticFieldContent).getField() =
42-
["android.app.Notification.action", "androidx.slice.Slice.action"]
43-
)
39+
allowIntentExtrasImplicitRead(node, c)
4440
or
4541
this.isAdditionalTaintStep(node, _) and
4642
c.(DataFlow::FieldContent).getType() instanceof PendingIntent

0 commit comments

Comments
 (0)