Skip to content

Fix secure hash for float#1364

Merged
AArnott merged 4 commits intoMessagePack-CSharp:masterfrom
pCYSl5EDgo:FixSecurity
Dec 25, 2021
Merged

Fix secure hash for float#1364
AArnott merged 4 commits intoMessagePack-CSharp:masterfrom
pCYSl5EDgo:FixSecurity

Conversation

@pCYSl5EDgo
Copy link
Copy Markdown
Contributor

@pCYSl5EDgo pCYSl5EDgo commented Dec 24, 2021

float is a 4-byte value but was being hashed with 8-bytes. Presumably the following 4 bytes could be anything, leading to an inconsistent hash.

@AArnott AArnott changed the title Fix MessagepackSecurity Fix secure hash for float Dec 25, 2021
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.

2 participants