summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-10-05 16:01:02 -0600
committerJeff Sharkey <jsharkey@android.com>2020-10-05 16:03:10 -0600
commit1561df4a9b09a4118c3dfddd80c5691a183a9939 (patch)
tree66423569d2c467c227ab0cf566972be422016b3b /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent74da287703f26d9d52ed02aabeb1815158194bf3 (diff)
Detector for Binder.clearCallingIdentity() bugs.
Binder maintains thread-local identity information about any remote caller, which can be temporarily cleared while performing operations that need to be handled as the current process. However, it's important to restore the original remote calling identity after carefully scoping this work inside a try/finally block, to avoid obscure security vulnerabilities. Bug: 155703208 Test: atest error_prone_android_framework_test Change-Id: I568771a50af27637e4984950dcada2248ce16afe
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions