mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
Update java/ql/src/Security/CWE/CWE-940/AndroidIntentRedirection.qhelp
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<p>If this is not possible, restrict either which apps can send Intents to the affected component, or which components can be started from it.</p>
|
||||
</recommendation>
|
||||
<example>
|
||||
<p>The following snippet contains two examples.
|
||||
<p>The following snippet contains three examples.
|
||||
In the first example, an arbitrary component can be started from the externally provided <code>forward_intent</code> Intent.
|
||||
In the second example, the destination component of the Intent is first checked to make sure it is safe.
|
||||
In the third example, the component that created the Intent is first checked to make sure it comes from a trusted origin.</p>
|
||||
|
||||
Reference in New Issue
Block a user