1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-06-02 02:01:46 +03:00
Florian Weimer 217b6dc298 Fix use of __pthread_attr_copy in mq_notify (bug 27896)
__pthread_attr_copy can fail and does not initialize the attribute
structure in that case.

If __pthread_attr_copy is never called and there is no allocated
attribute, pthread_attr_destroy should not be called, otherwise
there is a null pointer dereference in rt/tst-mqueue6.

Fixes commit 42d359350510506b87101cf77202fefcbfc790cb
("Use __pthread_attr_copy in mq_notify (bug 27896)").

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2021-06-02 07:12:18 +02:00
..
2021-02-11 08:02:16 -03:00
2021-02-11 08:00:48 -03:00
2021-03-18 15:54:39 -03:00
2021-03-26 13:36:17 -03:00
2021-03-26 13:37:14 -03:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:36:17 -03:00
2021-02-11 08:00:48 -03:00
2021-03-29 10:22:13 -03:00
2021-03-26 13:36:17 -03:00
2021-05-03 08:15:53 +02:00
2021-05-17 20:55:21 +00:00
2021-03-08 22:41:41 +01:00
2021-02-08 09:20:03 +01:00
2021-03-02 16:55:05 +01:00