summaryrefslogtreecommitdiffstats
path: root/nexus/SupplicantScanResultsEvent.cpp
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@android.com>2011-03-17 17:14:46 -0700
committerBrad Fitzpatrick <bradfitz@android.com>2011-03-22 14:03:11 -0700
commit3549b0dc2829184f9911d27a6ab0cf39b19764f1 (patch)
tree7667b9535a0f4d95d755f2e544182f04e9993879 /nexus/SupplicantScanResultsEvent.cpp
parent13aa8ad44570bceef73115cea749b11f30888530 (diff)
downloadcore-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 'nexus/SupplicantScanResultsEvent.cpp')
0 files changed, 0 insertions, 0 deletions