diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-01-04 17:46:24 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-01-04 17:46:24 +0100 |
commit | acbec396fd7f538dc311840a2a018357beb32d3e (patch) | |
tree | 67c0dd7807efb87f07551001c6cb2704ef70bc69 /pkg/util/mountOpts.go | |
parent | f261bfc54961c156c3a4acc2cd1c5379a83f1c0b (diff) | |
download | podman-acbec396fd7f538dc311840a2a018357beb32d3e.tar.gz podman-acbec396fd7f538dc311840a2a018357beb32d3e.tar.bz2 podman-acbec396fd7f538dc311840a2a018357beb32d3e.zip |
libpod API: pull: fix channel race
Fix a race condition in the pull endpoint caused by buffered channels.
Using buffered channels can lead to the context's cancel function to be
executed prior to the items being read from the channel.
Fixes: #8870
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/util/mountOpts.go')
0 files changed, 0 insertions, 0 deletions