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

eth/tracers/native: fix possible crash in prestate tracer #26351

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Dec 13, 2022

Someone reported a crash, #26347 , in prestate tracer. The prestate tracer has accounts, and they have a (possibly nil) balance. The existing code does not properly nil-check before dereferencing it, which this PR fixes.

@holiman holiman requested a review from s1na as a code owner December 13, 2022 12:49
Copy link
Contributor

@s1na s1na left a comment

Choose a reason for hiding this comment

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

Thanks.

@holiman holiman added this to the 1.11.0 milestone Dec 13, 2022
@holiman holiman merged commit fa97788 into ethereum:master Dec 13, 2022
shekhirin pushed a commit to shekhirin/go-ethereum that referenced this pull request Jun 6, 2023
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