unit-tests: Disable AddressSanitizer for threading cleanup function

As the cleanup function reads from the correct address on the parent frame,
it is currently unclear why AddressSanitizer complains about that pointer
dereference.
This commit is contained in:
Martin Willi authored and Tobias Brunner committed 2022-09-15 12:16:12 +02:00
1 parent 7dce58135e
commit 432a846e66
1 file changed
+4
@@ -1214,6 +1214,8 @@ START_TEST(test_cancel_point)
}
END_TEST
/* not sure why AddressSanitizer complains here, pointer looks fine */
ADDRESS_SANITIZER_EXCLUDE
static void close_fd_ptr(void *fd)
{
close(*(int*)fd);
@@ -1253,6 +1255,8 @@ static void cancellation_read()
}
}
/* the AddressSaniziter complains about the fd_set here for some reason */
ADDRESS_SANITIZER_EXCLUDE
static void cancellation_select()
{
int sv[2];