Add intermediate dataflow

Make sure that source intents are obtained from another intent's extras
This commit is contained in:
Tony Torralba
2021-08-19 16:34:04 +02:00
parent f90220436f
commit aa2cdb7a53
2 changed files with 35 additions and 1 deletions

View File

@@ -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