Nikita Popov
b805aebd42
librt: fix NULL pointer dereference (bug 28213)
...
Helper thread frees copied attribute on NOTIFY_REMOVED message
received from the OS kernel. Unfortunately, it fails to check whether
copied attribute actually exists (data.attr != NULL). This worked
earlier because free() checks passed pointer before actually
attempting to release corresponding memory. But
__pthread_attr_destroy assumes pointer is not NULL.
So passing NULL pointer to __pthread_attr_destroy will result in
segmentation fault. This scenario is possible if
notification->sigev_notify_attributes == NULL (which means default
thread attributes should be used).
Signed-off-by: Nikita Popov <npv1310@gmail.com >
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org >
2021-08-09 20:17:34 +05:30
..
2021-07-22 18:38:10 +05:30
2021-07-22 18:38:10 +05:30
2021-07-22 18:38:08 +05:30
2021-07-22 19:16:26 +02:00
2021-07-12 18:43:32 +02:00
2021-07-22 19:16:26 +02:00
2021-07-06 11:45:35 -03:00
2021-07-22 19:16:26 +02:00
2021-07-28 10:19:08 -07:00
2021-07-22 18:38:10 +05:30
2021-07-12 18:43:32 +02:00
2021-07-22 19:16:26 +02:00
2021-07-22 19:16:26 +02:00
2021-07-22 19:16:26 +02:00
2021-07-22 19:16:26 +02:00
2021-07-22 19:16:26 +02:00
2021-07-22 18:38:08 +05:30
2021-07-22 19:16:26 +02:00
2021-07-22 19:16:26 +02:00
2021-08-04 17:38:30 -03:00
2021-08-06 09:52:00 +02:00
2021-06-25 12:19:57 +02:00
2021-06-22 09:51:10 +02:00
2021-07-28 10:19:08 -07:00
2021-06-25 11:48:25 +02:00
2021-06-28 09:51:01 +02:00
2021-06-24 10:02:06 -03:00
2021-05-12 15:53:33 +05:30
2021-06-22 12:09:52 -03:00
2021-07-12 17:37:56 -03:00
2021-06-22 12:09:52 -03:00
2021-07-14 06:33:58 -07:00
2021-07-14 06:33:58 -07:00
2021-07-28 10:19:08 -07:00
2021-07-08 14:08:15 -03:00
2021-07-08 14:08:15 -03:00
2021-06-15 10:42:11 -03:00
2021-06-04 10:16:00 -03:00
2021-06-04 10:16:00 -03:00
2021-07-06 11:45:35 -03:00
2021-06-22 09:51:10 +02:00
2021-05-03 16:46:06 -03:00
2021-04-21 19:49:50 +02:00
2021-05-03 16:46:10 -03:00
2021-07-21 11:58:16 +02:00
2021-06-22 09:51:14 +02:00
2021-06-22 12:09:52 -03:00
2021-06-15 10:42:11 -03:00
2021-06-22 12:09:52 -03:00
2021-03-31 16:10:14 +02:00
2021-03-29 10:22:13 -03:00
2021-06-22 09:51:14 +02:00
2021-07-02 11:45:00 +02:00
2021-06-30 07:28:12 +02:00
2021-07-22 19:16:25 +02:00
2021-06-30 17:41:47 +02:00
2021-06-15 10:42:11 -03:00
2021-07-01 16:46:59 +02:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-30 07:28:12 +02:00
2021-05-06 11:01:05 -06:00
2021-04-21 19:49:51 +02:00
2021-07-06 11:45:35 -03:00
2021-06-28 09:51:01 +02:00
2021-03-18 15:54:39 -03:00
2021-06-28 09:51:01 +02:00
2021-03-26 13:36:17 -03:00
2021-07-21 11:58:16 +02:00
2021-06-25 12:19:58 +02:00
2021-06-25 12:19:58 +02:00
2021-08-09 20:17:34 +05:30
2021-06-25 12:21:12 +02:00
2021-06-25 12:21:12 +02:00
2021-06-25 12:21:12 +02:00
2021-06-25 12:19:58 +02:00
2021-06-25 12:21:12 +02:00
2021-06-25 12:21:12 +02:00
2021-06-25 12:21:12 +02:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-03-26 13:37:14 -03:00
2021-06-22 12:09:52 -03:00
2021-06-22 12:09:52 -03:00
2021-06-22 12:09:52 -03:00
2021-07-21 11:58:16 +02:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:37:18 -03:00
2021-06-22 12:09:52 -03:00
2021-06-22 12:09:52 -03:00
2021-06-30 07:28:12 +02:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:37:18 -03:00
2021-07-07 18:33:52 +02:00
2021-06-15 10:42:10 -03:00
2021-07-21 11:58:16 +02:00
2021-06-22 12:09:52 -03:00
2021-06-15 10:42:11 -03:00
2021-06-22 12:09:52 -03:00
2021-03-26 13:36:17 -03:00
2021-07-21 11:58:16 +02:00
2021-07-21 11:58:16 +02:00
2021-07-22 19:16:26 +02:00
2021-06-22 09:51:10 +02:00
2021-06-22 12:09:52 -03:00
2021-05-10 10:31:41 +02:00
2021-06-15 10:42:06 -03:00
2021-05-05 17:19:32 +02:00
2021-07-08 14:08:15 -03:00
2021-07-14 06:33:58 -07:00
2021-03-29 10:22:13 -03:00
2021-06-15 10:42:11 -03:00
2021-07-01 17:37:36 +00:00
2021-07-08 14:08:13 -03:00
2021-07-09 15:10:35 -07:00
2021-04-13 17:45:14 -03:00
2021-05-05 17:19:32 +02:00
2021-03-26 13:36:17 -03:00
2021-05-06 13:38:44 -06:00
2021-05-03 08:15:53 +02:00
2021-06-28 09:51:01 +02:00
2021-06-28 09:51:00 +02:00
2021-06-28 09:51:00 +02:00
2021-06-28 09:51:01 +02:00
2021-07-09 20:09:14 +02:00
2021-06-28 09:51:01 +02:00
2021-06-28 09:51:00 +02:00
2021-06-22 12:09:52 -03:00
2021-06-22 12:09:52 -03:00
2021-05-17 20:55:21 +00:00
2021-06-22 09:51:10 +02:00
2021-06-15 10:42:11 -03:00
2021-07-14 06:55:04 -07:00
2021-06-15 10:42:11 -03:00
2021-07-12 17:37:56 -03:00
2021-07-14 06:55:04 -07:00
2021-07-14 06:55:04 -07:00
2021-07-08 14:08:13 -03:00
2021-07-14 06:55:04 -07:00
2021-07-12 17:37:56 -03:00
2021-07-14 06:55:04 -07:00
2021-05-31 12:03:36 -07:00
2021-07-07 13:24:05 +00:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-03-23 12:23:33 +01:00
2021-06-15 10:42:11 -03:00
2021-03-23 12:23:33 +01:00
2021-06-15 10:42:11 -03:00
2021-06-22 12:09:52 -03:00
2021-07-21 11:58:16 +02:00
2021-07-21 11:58:16 +02:00
2021-07-21 11:58:16 +02:00
2021-07-21 11:58:16 +02:00
2021-06-15 10:42:11 -03:00
2021-06-22 12:09:52 -03:00
2021-07-12 17:37:56 -03:00
2021-06-15 10:42:11 -03:00
2021-06-22 12:09:52 -03:00
2021-06-22 12:09:52 -03:00
2021-05-07 13:56:02 -03:00
2021-06-22 12:09:52 -03:00
2021-06-30 07:28:12 +02:00
2021-06-22 12:09:52 -03:00
2021-07-22 19:16:26 +02:00