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

Add stack validation for TransactionKernel::parse_output_stack #717

Merged
merged 2 commits into from
Jun 1, 2024

Conversation

Fumuran
Copy link
Contributor

@Fumuran Fumuran commented May 30, 2024

This small PR adds a validation for TransactionKernel::parse_output_stack function to make sure that stack was properly cleaned (two last words are zero words) and overflowing addresses are empty.

@Fumuran Fumuran linked an issue May 30, 2024 that may be closed by this pull request
@Fumuran Fumuran requested review from hackaugusto and bobbinth May 30, 2024 10:41
Copy link
Contributor

@hackaugusto hackaugusto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you! I left a couple of minor comments inline. Once these are addressed, we can merge.

@bobbinth
Copy link
Contributor

bobbinth commented Jun 1, 2024

Oh - and also let's update the changelog.

@Fumuran Fumuran force-pushed the andrew-validate-parse-output-stack branch from 40ba7b8 to a75fff7 Compare June 1, 2024 11:14
@bobbinth bobbinth merged commit 0a4aa8d into next Jun 1, 2024
9 checks passed
@bobbinth bobbinth deleted the andrew-validate-parse-output-stack branch June 1, 2024 23:59
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.

TransactionKernel::parse_output_stack should validate the last word
3 participants