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

Avoid writing garbage bytes to read blobs in managed git engine #581

Merged
merged 1 commit into from Apr 7, 2021

Conversation

AArnott
Copy link
Collaborator

@AArnott AArnott commented Apr 7, 2021

In the case of this bug, the Stream.Read method read fewer bytes than was requested. This is totally allowed, but the caller did not expect it and assumed the entire buffer was initialized rather than a subset of it.

Fixes #580

In the case of this bug, the `Stream.Read` method read fewer bytes than was requested. This is totally allowed, but the caller did not expect it and assumed the entire buffer was initialized rather than a subset of it.

Fixes #580
@AArnott AArnott self-assigned this Apr 7, 2021
@AArnott AArnott added this to the v3.4 milestone Apr 7, 2021
@AArnott AArnott linked an issue Apr 7, 2021 that may be closed by this pull request
@AArnott AArnott merged commit 536c1fd into v3.4 Apr 7, 2021
@AArnott AArnott deleted the fix580 branch April 7, 2021 17:24
@qmfrederik
Copy link
Contributor

Thanks, @AArnott !

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.

Regression - 3.4.190 fails to parse version.json file
2 participants