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

Use full MD5 to compare bitmap rotate results #38699

Merged
merged 1 commit into from
Jul 2, 2020
Merged

Use full MD5 to compare bitmap rotate results #38699

merged 1 commit into from
Jul 2, 2020

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