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

ringct: make rctSigBase serialization follow strict aliasing rule #9035

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

jeffro256
Copy link
Contributor

Accessing an object of type char thru an lvalue of type crypto::hash8 is undefined behavior. https://developers.redhat.com/blog/2020/06/03/the-joys-and-perils-of-aliasing-in-c-and-c-part-2

@jeffro256
Copy link
Contributor Author

@vtnerd

@luigi1111 luigi1111 merged commit c03e404 into monero-project:master Nov 6, 2023
18 checks passed
jeffro256 added a commit to jeffro256/monero that referenced this pull request Mar 12, 2024
jeffro256 added a commit to jeffro256/monero that referenced this pull request Mar 12, 2024
preland pushed a commit to preland/monero that referenced this pull request May 13, 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.

3 participants