mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Remove unneeded implicit read step
This commit is contained in:
@@ -36,11 +36,7 @@ class ImplicitPendingIntentStartConf extends TaintTracking::Configuration {
|
||||
super.allowImplicitRead(node, c)
|
||||
or
|
||||
this.isSink(node) and
|
||||
(
|
||||
allowIntentExtrasImplicitRead(node, c) or
|
||||
c.(DataFlow::SyntheticFieldContent).getField() =
|
||||
["android.app.Notification.action", "androidx.slice.Slice.action"]
|
||||
)
|
||||
allowIntentExtrasImplicitRead(node, c)
|
||||
or
|
||||
this.isAdditionalTaintStep(node, _) and
|
||||
c.(DataFlow::FieldContent).getType() instanceof PendingIntent
|
||||
|
||||
Reference in New Issue
Block a user