mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Add intermediate dataflow
Make sure that source intents are obtained from another intent's extras
This commit is contained in:
@@ -21,6 +21,8 @@ public class AndroidIntentRedirectionTest extends Activity {
|
||||
startActivity(intent); // $ hasAndroidIntentRedirection
|
||||
}
|
||||
|
||||
startActivity(getIntent()); // Safe - not an intent obtained from the Extras
|
||||
|
||||
// @formatter:off
|
||||
startActivities(new Intent[] {intent}); // $ hasAndroidIntentRedirection
|
||||
startActivities(new Intent[] {intent}, null); // $ hasAndroidIntentRedirection
|
||||
|
||||
Reference in New Issue
Block a user