-
Notifications
You must be signed in to change notification settings - Fork 13k
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
valtree's to_le()
actually produces different result on big-endian from little-endian.
#103183
Labels
C-bug
Category: This is a bug.
Comments
@rustbot label +C-bug |
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Oct 22, 2022
Remove byte swap of valtree hash on big endian This addresses problem reported in rust-lang#103183. The code was originally introduced in rust-lang@e14b34c. (see rust-lang#96591) On big-endian environment, this operation sequence actually put the other half from 128-bit result, thus we got different hash result on LE and BE.
Can we close this now? (I forgot to mention @rustbot close |
Aaron1011
pushed a commit
to Aaron1011/rust
that referenced
this issue
Jan 6, 2023
Remove byte swap of valtree hash on big endian This addresses problem reported in rust-lang#103183. The code was originally introduced in rust-lang@e14b34c. (see rust-lang#96591) On big-endian environment, this operation sequence actually put the other half from 128-bit result, thus we got different hash result on LE and BE.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally posted by @ecnelises in #96591 (comment)
The text was updated successfully, but these errors were encountered: