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

dird: Fix pthread issues #169

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@bratkartoffel
Copy link

commented Apr 18, 2019

Fixes two double pthread_detach() calls and one pthread_getspecific()
without initialization, all leading to a SEGFAULT with musl libc and
undefined behaviour on other libc implementations.

This closes Bug #1073
Relates to https://bugs.alpinelinux.org/issues/10156

Show resolved Hide resolved core/src/dird/dird.cc Outdated

@bratkartoffel bratkartoffel force-pushed the bratkartoffel:bug_1073 branch from ce969b5 to 614923a Apr 18, 2019

dird: Fix pthread issues
Fixes two double pthread_detach() calls and one pthread_getspecific()
without initialization, all leading to a SEGFAULT with musl libc and
undefined behaviour on other libc implementations.

This closes Bug #1073

@bratkartoffel bratkartoffel force-pushed the bratkartoffel:bug_1073 branch from 614923a to e9eeddd Apr 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.