Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dockerfile: fix terminal expansion with too-small destination #503

Merged
merged 1 commit into from Nov 4, 2021

Conversation

hdonnay
Copy link
Member

@hdonnay hdonnay commented Nov 4, 2021

This fixes a corner-case where the transformer would consume some input,
begin expansion, then need to signal for more space and lose track of
what it had consumed. I added an explicit state to signal that the
transformer should immediately try to expand, and then modified the
return path of the corner case to use that state.

Closes: PROJQUAY-2765
Signed-off-by: Hank Donnay hdonnay@redhat.com

This fixes a corner-case where the transformer would consume some input,
begin expansion, then need to signal for more space and lose track of
what it had consumed. I added an explicit state to signal that the
transformer should immediately try to expand, and then modified the
return path of the corner case to use that state.

Closes: PROJQUAY-2765
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
@hdonnay hdonnay requested a review from a team as a code owner November 4, 2021 15:53
@hdonnay hdonnay requested review from crozzy and removed request for a team November 4, 2021 15:53
@hdonnay hdonnay merged commit e0a2bac into quay:main Nov 4, 2021
@hdonnay hdonnay deleted the bug/dockerfile branch November 4, 2021 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants