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

Bug in OpenFAST Registry Unpacking Structures with C_obj data #2249

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

deslaughter
Copy link
Collaborator

This PR is ready to merge

Feature or improvement description
This fixes a bug in the new OpenFAST registry where C object lengths and pointers weren't being restored in the Unpack routines. The registry logic to generate the necessary code was relocated when the pointer handling was changed.

Impacted areas of the software

  • OpenFAST Registry
  • MAP
  • ExtInflow
  • SCDataEx
  • ExtLoads
  • SuperController

…pointers weren't being restored in the Unpack routines
@deslaughter deslaughter added this to the v4.0.0 milestone Jun 3, 2024
@deslaughter deslaughter requested a review from andrew-platt June 3, 2024 16:34
@deslaughter deslaughter self-assigned this Jun 3, 2024
Copy link
Collaborator

@andrew-platt andrew-platt left a comment

Choose a reason for hiding this comment

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

That would certainly cause weird segfaults!

@deslaughter deslaughter merged commit 1bedba1 into OpenFAST:dev Jun 3, 2024
40 of 42 checks passed
@deslaughter deslaughter deleted the bug/registry_unpack_c branch June 3, 2024 18:53
@andrew-platt andrew-platt mentioned this pull request Dec 24, 2024
38 tasks
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