mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Consider taint through bitwise operations on PendingIntent flags
This commit is contained in:
@@ -156,7 +156,7 @@ public class ImplicitPendingIntentsTest {
|
||||
PendingIntent pi = PendingIntent.getActivity(ctx, 0, baseIntent, flag); // Sanitizer
|
||||
Intent fwdIntent = new Intent();
|
||||
fwdIntent.putExtra("fwdIntent", pi);
|
||||
ctx.startActivity(fwdIntent); // $ SPURIOUS: $ hasImplicitPendingIntent
|
||||
ctx.startActivity(fwdIntent); // Safe
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user