Skip to content

Fix segfault in EVMHost#306

Merged
Y-Nak merged 1 commit into
argotorg:mainfrom
Y-Nak:fix-segfault
Jan 13, 2026
Merged

Fix segfault in EVMHost#306
Y-Nak merged 1 commit into
argotorg:mainfrom
Y-Nak:fix-segfault

Conversation

@Y-Nak

@Y-Nak Y-Nak commented Jan 13, 2026

Copy link
Copy Markdown
Member

This PR is minor fix for EVMHost::getVM crash. The set_option call was executed unconditionally, even when vms[_path] is not assigned and thus causes segfault.

@Y-Nak Y-Nak requested a review from clonker January 13, 2026 12:52

@clonker clonker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice catch, thanks!

@Y-Nak Y-Nak merged commit 656d3e4 into argotorg:main Jan 13, 2026
2 checks passed
@Y-Nak Y-Nak deleted the fix-segfault branch January 13, 2026 13: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.

2 participants