зеркало из https://github.com/microsoft/docker.git
37fcbfa1f4
The idx.index array is overwritten when a new value is inserted to the index. When two containers are created concurrently, their ids are inserted to the index and one can overwrite the other leaving one of ids missing from the index. Adding a RWMutex lock around read/write operations fixes this. Docker-DCO-1.1-Signed-off-by: James Allen <jamesallen0108@gmail.com> (github: jpallen) |
||
---|---|---|
.. | ||
testdata/fs | ||
daemon.go | ||
fs.go | ||
fs_test.go | ||
http.go | ||
jsonmessage.go | ||
jsonmessage_test.go | ||
progressreader.go | ||
random.go | ||
signal.go | ||
signal_darwin.go | ||
signal_linux.go | ||
stdcopy.go | ||
streamformatter.go | ||
tarsum.go | ||
uname_darwin.go | ||
uname_linux.go | ||
utils.go | ||
utils_test.go |