Skip to content

SR-4677: avoid SIGSEGV if _dispatch_muxnote_create returns NULL #300

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

Merged
merged 1 commit into from
Sep 7, 2017

Conversation

dgrove-oss
Copy link
Contributor

It is possible for _dispatch_muxnote_create to return NULL, this error
condition was not being handled in dispatch_unote_register leading to
an immediate SIGSEGV when it happened.

It is possible for _dispatch_muxnote_create to return NULL, this error
condition was not being handled in dispatch_unote_register leading to
an immediate SIGSEGV when it happened.
@MadCoder
Copy link
Contributor

MadCoder commented Sep 7, 2017

hah, good one.

@MadCoder MadCoder merged commit 40fc1f3 into swiftlang:master Sep 7, 2017
@MadCoder
Copy link
Contributor

MadCoder commented Sep 7, 2017

(I also synced swift 4 with master since they haven't diverged yet)

@dgrove-oss dgrove-oss deleted the SR-4677 branch September 8, 2017 14:00
ktopley-apple pushed a commit that referenced this pull request Dec 6, 2018
SR-4677: avoid SIGSEGV if _dispatch_muxnote_create returns NULL

Signed-off-by: Daniel A. Steffen <[email protected]>
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.

3 participants