summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorCarlos Valdivia <carlosvaldivia@google.com>2013-09-29 05:11:56 -0700
committerCarlos Valdivia <carlosvaldivia@google.com>2013-09-29 05:23:16 -0700
commit5bab9daf3cf66f4de19f8757e386030e8bef23ce (patch)
tree99acf5026c8aad1e7205eff5b1f771e43e4220fc /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc6568719671206e726f260fad390680f7fb0ee9e (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
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions