From 3b2b7f8acf5eb4697f4908a2938f7fe584f5d622 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 22 Nov 2023 18:08:17 +0100 Subject: [PATCH] MSan and TSan complain as well, not just ASan Signed-off-by: Gilles Peskine --- tests/suites/test_suite_platform.data | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/suites/test_suite_platform.data b/tests/suites/test_suite_platform.data index 397ff1b796..653d2545c0 100644 --- a/tests/suites/test_suite_platform.data +++ b/tests/suites/test_suite_platform.data @@ -7,9 +7,9 @@ time_get_seconds: Check mbedtls_calloc overallocation # This test case exercises an integer overflow in calloc. Under Asan, with -# a modern Clang, this triggers an Asan complaint. The complaint can be -# avoided with ASAN_OPTIONS=allocator_may_return_null=1, but this has to -# be set in the environment before the program starts, and could hide -# other errors. -depends_on:!MBEDTLS_TEST_HAVE_ASAN +# a modern Clang, this triggers an ASan/MSan/TSan complaint. The complaint +# can be avoided with e.g. ASAN_OPTIONS=allocator_may_return_null=1, +# but this has to be set in the environment before the program starts, +# and could hide other errors. +depends_on:!MBEDTLS_TEST_HAVE_ASAN:!MBEDTLS_TEST_HAVE_MSAN:!MBEDTLS_TEST_HAVE_TSAN check_mbedtls_calloc_overallocation:SIZE_MAX/2:SIZE_MAX/2