MSan and TSan complain as well, not just ASan

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2023-11-22 18:08:17 +01:00
parent 05ebe967be
commit 3b2b7f8acf

View file

@ -7,9 +7,9 @@ time_get_seconds:
Check mbedtls_calloc overallocation Check mbedtls_calloc overallocation
# This test case exercises an integer overflow in calloc. Under Asan, with # This test case exercises an integer overflow in calloc. Under Asan, with
# a modern Clang, this triggers an Asan complaint. The complaint can be # a modern Clang, this triggers an ASan/MSan/TSan complaint. The complaint
# avoided with ASAN_OPTIONS=allocator_may_return_null=1, but this has to # can be avoided with e.g. ASAN_OPTIONS=allocator_may_return_null=1,
# be set in the environment before the program starts, and could hide # but this has to be set in the environment before the program starts,
# other errors. # and could hide other errors.
depends_on:!MBEDTLS_TEST_HAVE_ASAN depends_on:!MBEDTLS_TEST_HAVE_ASAN:!MBEDTLS_TEST_HAVE_MSAN:!MBEDTLS_TEST_HAVE_TSAN
check_mbedtls_calloc_overallocation:SIZE_MAX/2:SIZE_MAX/2 check_mbedtls_calloc_overallocation:SIZE_MAX/2:SIZE_MAX/2