Skip to content

Commit 3aa32e4

Browse files
committed
Java: use MISSING inline annotation
1 parent f7ea8a1 commit 3aa32e4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
testFailures
2-
| ImplicitPendingIntentsTest.java:35:60:35:87 | // $hasImplicitPendingIntent | Missing result:hasImplicitPendingIntent= |
32
failures

java/ql/test/query-tests/security/CWE-927/ImplicitPendingIntentsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static void testPendingIntentAsAnExtra(Context ctx)
3232
PendingIntent pi = PendingIntent.getActivity(ctx, 0, baseIntent, 0);
3333
Intent fwdIntent = new Intent();
3434
fwdIntent.putExtra("fwdIntent", pi);
35-
ctx.startActivities(new Intent[] {fwdIntent}); // $hasImplicitPendingIntent
35+
ctx.startActivities(new Intent[] {fwdIntent}); // $ MISSING: hasImplicitPendingIntent
3636
ctx.startActivity(fwdIntent); // $hasImplicitPendingIntent
3737
ctx.startService(fwdIntent); // Safe
3838
ctx.sendBroadcast(fwdIntent); // $hasImplicitPendingIntent

0 commit comments

Comments
 (0)