Konstantin Belousov
4dafad49c6
Do not leak curthread->inact_mtx when cancelling in pthread_cond_wait(3).
...
Leave robust-protected region before checking for cancellation by
calling _thr_testcancel(). Otherwise, if cancelling request was
pending, the cancel handler is called with the dandling inact_mtx,
which triggers an assert if any mutex operation is performed by the
handler.
Reported and tested by: Dimitri Staessens <dimitri.staessens@intec.ugent.be>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
2016-12-06 17:13:17 +00:00
..
2016-02-28 17:52:33 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-12-06 17:13:17 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2015-01-21 16:41:05 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-08-06 13:32:40 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-07-27 15:14:11 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-06-25 20:20:24 +00:00
2016-05-17 09:56:22 +00:00
2016-07-27 15:14:11 +00:00
2016-06-01 16:11:09 +00:00
2016-07-27 15:14:11 +00:00
2016-03-21 06:52:35 +00:00
2016-04-08 11:15:26 +00:00
2016-05-05 10:20:22 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-05-05 10:20:22 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-04-08 11:15:26 +00:00
2016-08-16 08:27:03 +00:00
2016-05-17 09:56:22 +00:00
2016-05-17 09:56:22 +00:00
2016-04-08 11:15:26 +00:00