This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/5626] pthread_cleanup_pop_restore_np isn't safe
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 17 Jan 2008 01:58:51 -0000
- Subject: [Bug nptl/5626] pthread_cleanup_pop_restore_np isn't safe
- References: <20080116221225.5626.madcoder@debian.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2008-01-17 01:58 -------
The code is wrong. There calling of the cleanup function and the resetting of
the cancellation state is not atomic. This means, pthread_mutex_unlock is
called with cancellation set to async. This must never happen.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=5626
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.