Skip to content

Conversation

@tkp1n
Copy link
Contributor

@tkp1n tkp1n commented Jul 2, 2020

Stumbled over this off-by-one oddity while working on #37546
The last byte was omitted from the MD5 comparison used to validate the bitmap rotates.

This PR fixes the off-by-one in the ByteArrayToString routine and adds the missing byte to the assertions.

/cc @qmfrederik

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was odd. Thanks.

@stephentoub stephentoub merged commit 932098f into dotnet:master Jul 2, 2020
@tkp1n tkp1n deleted the patch-3 branch July 2, 2020 20:53
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants