summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2020-08-10 16:33:24 -0700
committerHans Boehm <hboehm@google.com>2020-08-17 18:32:31 -0700
commit3d49ac4660db7722d15c65302c33e318f837e0ed (patch)
tree310304e6de11bc95356d674e3a740f88de643e8c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9185c90af2c34a9a6fa096b20ce780bea0c7bcd8 (diff)
Fix ApkAssets mNativePtr accesses
Actually acquire the monitor it claims to be guarded by. Since it was a final field, it's still not entirely clear what that means. Clear mNativePtr when we deallocate its referent. This prevents native heap corruption if methods here are called from another finalizer. Remove mOpen and use mNativePtr instead. This probably does not fix the bug below. But let's get rid of the possible heap corruption source we know about. Bug: 159041693 Test: Build and boot Change-Id: I6f0f6250ca8b6a4274c346ae99f1f94cab5844e1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions