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

[release/5.0] Fixes #62167. WriteAsync may truncate data if called after .Advance(int) #62350

Merged
merged 2 commits into from
Jan 7, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 3, 2021

Backport of #62306 to release/5.0

/cc @BrennanConroy @Kuinox

Customer Impact

Customer reported issue. This can result in corrupted data (missing bytes in the middle of a Read) when using pipes with a mix of GetSpan() + Advance() and WriteAsync()

Testing

New test was written for the scenario, current test coverage gives high confidence no regressions will occur.

Risk

Low. The fix is well understood and very little code change.

@BrennanConroy BrennanConroy added the Servicing-consider Issue for next servicing release review label Dec 3, 2021
@BrennanConroy BrennanConroy added this to the 5.0.x milestone Dec 3, 2021
@halter73 halter73 added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Dec 14, 2021
@safern safern merged commit 6d975f9 into release/5.0 Jan 7, 2022
@safern safern deleted the backport/pr-62306-to-release/5.0 branch January 7, 2022 22:03
@ghost ghost locked as resolved and limited conversation to collaborators Feb 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants