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 (issue #1336) dangling pointer access violation. #1423

Merged
merged 1 commit into from
Jan 28, 2023

Conversation

oicchris
Copy link
Contributor

Fixes (#1336) a dangling pointer access violation when Expression<>::valueAndJacobianMap() is called using a MSVC compiler. Deallocation of the pointer occurs before internal::ExecutionTrace trace's dtor is called. Inside the dtor the dangling pointer is dereferenced.

Cherry pick from the develop branch, commit: a41b4e0

Copy link
Member

@dellaert dellaert left a comment

Choose a reason for hiding this comment

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

Awesome !!!!

@dellaert dellaert merged commit ee63a5b into borglab:release/4.2 Jan 28, 2023
@dellaert
Copy link
Member

CI already fully succeeded on develop so merged here as well. If an issue arises we'll fix it in post :-)

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