summaryrefslogtreecommitdiffhomepage
path: root/runsc/version.go
diff options
context:
space:
mode:
authorIan Gudger <ian@iangudger.com>2021-03-04 02:34:51 -0800
committerIan Gudger <ian@iangudger.com>2021-03-04 02:39:15 -0800
commit9b1170123d323e1f1e49bf5cf792070629d7ae09 (patch)
treee850fc44b92b866313bb23c935934810cd185421 /runsc/version.go
parent76f0d2c67b75f9916866c07663dae7c7da805dbc (diff)
Fix race in unix socket transport.
transport.baseEndpoint.receiver and transport.baseEndpoint.connected are protected by transport.baseEndpoint.Mutex. In order to access them without holding the mutex, we must make a copy. Notifications must be sent without holding the mutex, so we need the values without holding the mutex.
Diffstat (limited to 'runsc/version.go')
0 files changed, 0 insertions, 0 deletions