Skip to content

[release/1.7] fix: allow attaching to any combination of stdin/stdout/stderr#8910

Merged
estesp merged 1 commit intocontainerd:release/1.7from
davidhsingyuchen:backport-8316
Aug 3, 2023
Merged

[release/1.7] fix: allow attaching to any combination of stdin/stdout/stderr#8910
estesp merged 1 commit intocontainerd:release/1.7from
davidhsingyuchen:backport-8316

Conversation

@davidhsingyuchen
Copy link
Copy Markdown
Contributor

PR is a backport for #8316 (687a5f5).

@k8s-ci-robot
Copy link
Copy Markdown

Hi @davidhsingyuchen. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Before this PR, if a stdin/stdout/stderr stream is nil,
and the corresponding FIFO is not an empty string,
a panic will occur when Read/Write of the nil stream is invoked in io.CopyBuffer.

Signed-off-by: Hsing-Yu (David) Chen <[email protected]>
(cherry picked from commit 687a5f5)
Signed-off-by: Hsing-Yu (David) Chen <[email protected]>
@davidhsingyuchen davidhsingyuchen marked this pull request as ready for review August 2, 2023 17:14
@davidhsingyuchen
Copy link
Copy Markdown
Contributor Author

/assign @estesp

@estesp estesp merged commit cb972c1 into containerd:release/1.7 Aug 3, 2023
@davidhsingyuchen davidhsingyuchen deleted the backport-8316 branch August 3, 2023 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants