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 user after free in MacOS select() #359

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

webbeef
Copy link
Contributor

@webbeef webbeef commented Sep 19, 2024

Update to the loop handling large messages logic in order to not reuse message after it's backing buffer was deallocated.

cc @jdm since you wrote this in the first place.

Update to the loop handling large messages logic in order to not reuse the `message` after it's backing buffer was deallocated.

Signed-off-by: webbeef <me@webbeef.org>
Copy link
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

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

Oof. Thanks for tracking this down!

@jdm jdm enabled auto-merge September 20, 2024 00:07
@jdm jdm added this pull request to the merge queue Sep 20, 2024
Merged via the queue into servo:main with commit ba0e5f1 Sep 20, 2024
19 checks passed
@webbeef
Copy link
Contributor Author

webbeef commented Sep 26, 2024

@jdm can you publish an update of the crate with that fix?

@jdm
Copy link
Member

jdm commented Sep 26, 2024

Published 0.18.3.

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