Skip to content

Fix stream copy #1232

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

Merged
merged 1 commit into from
Nov 18, 2022
Merged

Fix stream copy #1232

merged 1 commit into from
Nov 18, 2022

Conversation

twsouthwick
Copy link
Member

Using Stream.Read does not guarantee the requested bytes are read. This started failing in a test on .NET 6+, but could potentially fail everywhere this API is used without checking the return value

Using Stream.Read does not guarantee the requested bytes are read. This started failing in a test on .NET 6+, but could potentially fail everywhere this API is used without checking the return value
@twsouthwick twsouthwick merged commit 4d2a1ed into dotnet:main Nov 18, 2022
@twsouthwick twsouthwick deleted the fix-stream-copy branch November 18, 2022 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant