diff options
author | Christopher Tate <ctate@google.com> | 2015-05-19 18:16:58 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2015-05-19 18:34:20 -0700 |
commit | 090c08ff2a7525c830b4edfd1a79aa8ee3893c60 (patch) | |
tree | b28bcf24ec7209362c2fcd29b4204e0ba09d4022 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f7a9aaa12eb25bbd163fbc02c4fa638889dd67c2 (diff) |
Close race condition in binderDied()
It was possible for a binderDied() call to occur while the death
recipient list containing the object was being iterated, in which
case we could invalidate an object reference out from under the
iteration, causing a VM abort. We now interlock the binderDied()
deref operation with the list's locking semantics to prevent this.
Bug 15831054
Change-Id: If0027d3ac4da1153284a425dd9b2819a203481ab
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions