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 HD when no outputs specified #1872

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

deslaughter
Copy link
Collaborator

This PR is ready to be merged.

Feature or improvement description
This commit fixes a bug where HydroDyn would segfault if no outputs were specified in the input file. This was caused by NumOutputs not being set for the Morison and Waves2 submodules if no outputs were specified. The segfault would occur when the OutList array was accessed with uninitialized NumOutputs variables.

This bug was been resolved in the dev branch during SeaState development.

Related issue, if one exists
#1863

Impacted areas of the software
HydroDyn_Input.f90

This commit fixes a bug where HydroDyn would segfault if no outputs were
specified in the input file.
@andrew-platt andrew-platt merged commit 067acec into OpenFAST:rc-3.5.2 Nov 13, 2023
19 checks passed
@andrew-platt andrew-platt mentioned this pull request Dec 19, 2023
19 tasks
@deslaughter deslaughter deleted the bug/HD_Input branch September 4, 2024 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants