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: bail incomplete bytecode sequence disassemble #9390

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

publicqi
Copy link
Contributor

Motivation

This PR fixes #9389

Solution

Use Result to handle oob.

@klkvr klkvr merged commit cca72ab into foundry-rs:master Nov 25, 2024
21 checks passed
rplusq pushed a commit to rplusq/foundry that referenced this pull request Nov 29, 2024
@grandizzy grandizzy added T-bug Type: bug C-cast Command: cast labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cast Command: cast T-bug Type: bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Instruction decode slice overflow on incomplete bytecode
3 participants