android_system_core/libsysutils
Brad Fitzpatrick 4be4e69f01 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
2011-03-17 17:14:46 -07:00
..
src Fix potential race introduced in Icd7f5f03 2011-03-17 17:14:46 -07:00
Android.mk libsysutils: do not build for TINY_ANDROID 2011-01-23 19:13:23 -08:00