diff options
author | Christopher Tate <ctate@google.com> | 2015-05-19 18:16:58 -0700 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-05-29 08:33:52 +0000 |
commit | 140f2b41af22e0b5c2a1d6e892333cd93631fc11 (patch) | |
tree | d5ceaa36d34db741b104652cc3d575fe7719d0c8 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3976a56904e359eb975395725e908122d7d6e466 (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
(cherry picked from commit 090c08ff2a7525c830b4edfd1a79aa8ee3893c60)
Change-Id: If0027d3ac4da1153284a425dd9b2819a203481ab
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions