summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-05-17 10:42:26 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-17 13:26:16 +0000
commit3f0e2367c222fe362031f806f002fb8a62be6360 (patch)
treecc513735c9e97bba28cf3c992296c3a55ec776e5 /README.md
parent624660c1b3869bdd6b3342f5924e813f32a81b4a (diff)
downloadpodman-3f0e2367c222fe362031f806f002fb8a62be6360.tar.gz
podman-3f0e2367c222fe362031f806f002fb8a62be6360.tar.bz2
podman-3f0e2367c222fe362031f806f002fb8a62be6360.zip
libpod: fix panic when using -t and the process fails to start
We were closing resize both on the receiver and the sender side. This was racy as the sender might have written to a closed channel. If the container could not be created, the attach exited immediately causing the channel to be closed before the write from resizeTty. Change the logic to close only from the senderSide and add another channel to notify the resizeTty goroutine when the container exited. Closes: https://github.com/projectatomic/libpod/issues/785 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #787 Approved by: mheon
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions