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

fix(levm): remove the push for success in return #1248

Merged
merged 4 commits into from
Nov 25, 2024

Conversation

maximopalopoli
Copy link
Contributor

Motivation

Fixes a bug found by FuzzingLabs in return opcode implementation.

Description

Now return opcode does not pushes 1 in the stack in case of success, since it is not the documented behavior.

Closes #1224

@maximopalopoli maximopalopoli self-assigned this Nov 25, 2024
@maximopalopoli maximopalopoli added the levm Lambda EVM implementation label Nov 25, 2024
@maximopalopoli maximopalopoli changed the title fix(levm): remove the push for succes in return fix(levm): remove the push for success in return Nov 25, 2024
@maximopalopoli maximopalopoli marked this pull request as ready for review November 25, 2024 18:26
@maximopalopoli maximopalopoli requested a review from a team as a code owner November 25, 2024 18:26
@ilitteri ilitteri added this pull request to the merge queue Nov 25, 2024
Merged via the queue into main with commit 1c771bc Nov 25, 2024
22 checks passed
@ilitteri ilitteri deleted the levm/fix/remove-return-success-push branch November 25, 2024 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
levm Lambda EVM implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SECURITY] Non-Compliance: Stack Modification During RETURN Operation
2 participants