[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug nptl/5626] pthread_cleanup_pop_restore_np isn't safe



------- 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 reported the bug, or are watching the reporter.


Reply to: