Skip to content

Commit cde7a35

Browse files
committed
QLDoc
1 parent 6aac848 commit cde7a35

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

java/ql/lib/semmle/code/java/security/ImplicitPendingIntents.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ private import semmle.code.java.frameworks.android.PendingIntent
77

88
/** A source for an implicit `PendingIntent` flow. */
99
abstract class ImplicitPendingIntentSource extends DataFlow::Node {
10+
/** Holds if this source has the specified `state`. */
1011
predicate hasState(DataFlow::FlowState state) { state = "" }
1112
}
1213

1314
/** A sink that sends an implicit and mutable `PendingIntent` to a third party. */
1415
abstract class ImplicitPendingIntentSink extends DataFlow::Node {
16+
/** Holds if this sink has the specified `state`. */
1517
predicate hasState(DataFlow::FlowState state) { state = "" }
1618
}
1719

java/ql/src/Security/CWE/CWE-927/ImplicitPendingIntents.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ import DataFlow::PathGraph
2020
from DataFlow::PathNode source, DataFlow::PathNode sink
2121
where any(ImplicitPendingIntentStartConf conf).hasFlowPath(source, sink)
2222
select sink.getNode(), source, sink,
23-
"An implicit and mutable PendingIntent is created $@ and sent to an unspecified third party.",
23+
"An implicit Intent is created $@ and sent to an unspecified third party through a PendingIntent.",
2424
source.getNode(), "here"

0 commit comments

Comments
 (0)