Skip to content

Fix secure hash for float#1364

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

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

Conversation

@pCYSl5EDgo

@pCYSl5EDgo pCYSl5EDgo commented Dec 24, 2021

Copy link
Copy Markdown
Contributor

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
@AArnott
AArnott merged commit b2ab625 into MessagePack-CSharp:master Dec 25, 2021
@AArnott AArnott added this to the v2.3 milestone Dec 25, 2021
@pCYSl5EDgo
pCYSl5EDgo deleted the FixSecurity branch December 25, 2021 02:19
AArnott pushed a commit that referenced this pull request Oct 16, 2024
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