summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2015-05-19 18:16:58 -0700
committerThe Android Automerger <android-build@google.com>2015-05-21 15:19:08 -0700
commitca1002f49e0f817229b04ec93b675861e8bfcb83 (patch)
tree7c85139b1b6b50507f065ceeff1d129d8953e309 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent48b1bd2dffc03b13039f9f2935bcad3d14cdb2b2 (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 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions