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 UAF in dds_security_timed_dispatcher_add #1825

Merged

Conversation

eboasson
Copy link
Contributor

@eboasson eboasson commented Sep 7, 2023

The newly created event can fire before the function returns, and therefore the event pointer must not be touched anymore after the dispatcher is unlocked.

The newly created event can fire before the function returns, and
therefore the event pointer must not be touched anymore after the
dispatcher is unlocked.

Signed-off-by: Erik Boasson <[email protected]>
@eboasson eboasson merged commit d14f3e8 into eclipse-cyclonedds:master Sep 7, 2023
22 checks passed
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