Skip to content

Ensure clone handler drops RootedRc's on early exit#3291

Merged
sporksmith merged 5 commits intoshadow:mainfrom
sporksmith:clone-rooted
Feb 1, 2024
Merged

Ensure clone handler drops RootedRc's on early exit#3291
sporksmith merged 5 commits intoshadow:mainfrom
sporksmith:clone-rooted

Conversation

@sporksmith
Copy link
Copy Markdown
Contributor

Fixes #3290

@sporksmith sporksmith self-assigned this Jan 31, 2024
@github-actions github-actions bot added Component: Libraries Support functions like LD_PRELOAD and logging Component: Testing Unit and integration tests and frameworks Component: Main Composing the core Shadow executable labels Jan 31, 2024
This will make it easier to deal with RootedRc locals + early returns.
Copy link
Copy Markdown
Member

@robgjansen robgjansen left a comment

Choose a reason for hiding this comment

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

Looks great, and much more failsafe :)

@sporksmith sporksmith merged commit 2d097df into shadow:main Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Libraries Support functions like LD_PRELOAD and logging Component: Main Composing the core Shadow executable Component: Testing Unit and integration tests and frameworks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

crash: rootedcell "Dropped without calling safely_drop"

2 participants