Skip to content

Fix (issue #1336) dangling pointer access violation.#1423

Merged
dellaert merged 1 commit into
borglab:release/4.2from
oicchris:release/4.2
Jan 28, 2023
Merged

Fix (issue #1336) dangling pointer access violation.#1423
dellaert merged 1 commit into
borglab:release/4.2from
oicchris:release/4.2

Conversation

@oicchris
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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