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

Check offset and size params size in Keccak256 before truncating #271

Open
JulianVentura opened this issue Jun 14, 2024 · 0 comments
Open

Comments

@JulianVentura
Copy link
Contributor

In opcode Keccak256 we are truncating both offset and size parameters to 32 bits without first checking if there are smaller than u32::MAX. This could lead to bugs on memory expansion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant