Avoid writing garbage bytes to read blobs in managed git engine by AArnott · Pull Request #581 · dotnet/Nerdbank.GitVersioning (original) (raw)
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 linked an issue
that may beclosed by this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})