Skip to content

fix MD5 checksum computation#392

Merged
olafurpg merged 1 commit intomainfrom
nsc/fix-md5
Jan 11, 2022
Merged

fix MD5 checksum computation#392
olafurpg merged 1 commit intomainfrom
nsc/fix-md5

Conversation

@Strum355
Copy link
Contributor

The CharBuffer dance added about 30 null bytes to the then hashed file data, causing an incorrect MD5 checksum. This PR avoids this erroneous codepath to give us the correct checksum. Closes #391

image

@Strum355 Strum355 requested a review from olafurpg January 11, 2022 15:12
@Strum355 Strum355 self-assigned this Jan 11, 2022
Copy link
Contributor

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

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

Thank you so much for fixing this 🙏

@olafurpg olafurpg merged commit 8621814 into main Jan 11, 2022
@olafurpg olafurpg deleted the nsc/fix-md5 branch January 11, 2022 20:26
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.

Wrong md5 sum returned

2 participants