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 segfault in WellStateglobalConnections #979

Merged
merged 1 commit into from
May 28, 2024

Conversation

eivindjahren
Copy link
Collaborator

Fixes a bug where None would be given to WellState._segment_collection_iget would return None, which would become a nullptr and dereferenced in self._segment_collection_iget when called from WellState.globalConnections.

Copy link
Contributor

@andreas-el andreas-el left a comment

Choose a reason for hiding this comment

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

💯

@eivindjahren eivindjahren merged commit a2bc01d into equinor:main May 28, 2024
18 checks passed
@eivindjahren eivindjahren deleted the fix_bug_with_well_state branch May 28, 2024 11:44
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