summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPaul Lawrence <paullawrence@google.com>2014-02-26 15:42:34 -0800
committerPaul Lawrence <paullawrence@google.com>2014-02-27 09:09:48 -0800
commitb9ba0c6c43f0f7f0d5e347030e3c86a86ed74542 (patch)
tree02b636c3c1ababa84630e27222e4ae54954e393c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent8e0c7768c87014fef277df84c737dd6c37fb8866 (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. This is a backport of 5bab9daf3cf66f4de19f8757e386030e8bef23ce Bug: 7699048 Change-Id: Ifed345c2fc20020d55fa2cab1f2f7ea509ea09b2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions