mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
Merge pull request #6966 from atorralba/atorralba/android-explicit-intent-sanitizer
Android: Add ExplicitIntentSanitizer and allowIntentExtrasImplicitRead
This commit is contained in:
@@ -48,11 +48,7 @@ class GetContentIntentConfig extends TaintTracking2::Configuration {
|
||||
// Allow the wrapped intent created by Intent.getChooser to be consumed
|
||||
// by at the sink:
|
||||
isSink(node) and
|
||||
(
|
||||
content.(DataFlow::SyntheticFieldContent).getField() = "android.content.Intent.extras"
|
||||
or
|
||||
content instanceof DataFlow::MapValueContent
|
||||
)
|
||||
allowIntentExtrasImplicitRead(node, content)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user