diff options
author | Brad Fitzpatrick <bradfitz@android.com> | 2011-03-17 17:14:46 -0700 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@android.com> | 2011-03-22 14:03:11 -0700 |
commit | 3549b0dc2829184f9911d27a6ab0cf39b19764f1 (patch) | |
tree | 7667b9535a0f4d95d755f2e544182f04e9993879 /logcat | |
parent | 13aa8ad44570bceef73115cea749b11f30888530 (diff) | |
download | core-3549b0dc2829184f9911d27a6ab0cf39b19764f1.tar.gz core-3549b0dc2829184f9911d27a6ab0cf39b19764f1.tar.bz2 core-3549b0dc2829184f9911d27a6ab0cf39b19764f1.zip |
Fix potential race introduced in Icd7f5f03
Digit wrote:
"You probably don't want to close the socket here without updating
c->socket as well. Otherwise, another thread holding a handle to the
client after the c->decRef() could end up sending a message to a
different socket, if the file descriptor index is reused by another
client in the meantime."
Change-Id: Icdefb5ffc0c7607325d7db761e1f04e5d868bfb7
Diffstat (limited to 'logcat')
0 files changed, 0 insertions, 0 deletions