android_system_core/libsysutils/src
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
..
FrameworkClient.cpp libsysutils: Handle EINTR in FrameworkClient.cpp 2011-01-19 02:18:40 +01:00
FrameworkCommand.cpp system/core: Switch libsysutils & sched_policy LOG -> SLOG 2010-03-25 09:31:42 -07:00
FrameworkListener.cpp libsysutils: Fix potential overwrites in FrameworkListener 2011-01-19 02:18:40 +01:00
NetlinkEvent.cpp libsysutils: Fix NetLinkEvent security issues. 2011-01-19 02:18:32 +01:00
NetlinkListener.cpp libsysutils: Handle EINTR in NetlinkListener 2011-01-19 02:18:40 +01:00
ServiceManager.cpp libsysutils: Fix wait loop in ServiceManager::start and ::stop 2011-01-19 02:18:40 +01:00
SocketClient.cpp Fix potential race introduced in Icd7f5f03 2011-03-17 17:14:46 -07:00
SocketListener.cpp Fix potential race introduced in Icd7f5f03 2011-03-17 17:14:46 -07:00