summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorCarlos Valdivia <carlosvaldivia@google.com>2013-09-29 05:11:56 -0700
committerPaul Lawrence <paullawrence@google.com>2014-02-27 17:03:15 +0000
commitc45bd7f20987ed2fd29b9192edb38d02b4caa23b (patch)
tree58fdc36923a3b5abeb5a87086bfbc5f08d7172d6 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent950230663fb3a9af438ec2ee57605fc9e7a58428 (diff)
Prevent authenticators from using Settings to launch arbitrary activities.
Various authenticator results such as getAuthToken and addAccount might result in an Intent returned to the AccountManager caller. A malicious authenticator could exploit the fact that the Settings are a system app, lead the user to launch add account for their account type and thus get Settings to use the intent to start some arbitrary third parties Activity. The fix is to make sure that the UID of the app associated with Activity to be launched by the supplied intent and the Authenticators UID share the same signature. This means that an authenticator implementer can only exploit apps they control. Bug: 7699048 Change-Id: I34330454c341e6a8422ca1ed3b390466a0feedce (cherry picked from commit 5bab9daf3cf66f4de19f8757e386030e8bef23ce)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions