Jerry Yu | 9a12df0 | 2023-03-03 12:55:16 +0800 | [diff] [blame] | 1 | |
| 2 | Time: get milliseconds |
| 3 | time_get_milliseconds: |
| 4 | |
| 5 | Time: get seconds |
| 6 | time_get_seconds: |
Andrzej Kurek | 60de0b1 | 2023-05-09 16:38:04 -0400 | [diff] [blame] | 7 | |
| 8 | Check mbedtls_calloc overallocation |
Gilles Peskine | 05ebe96 | 2023-10-01 21:44:31 +0200 | [diff] [blame^] | 9 | # This test case exercises an integer overflow in calloc. Under Asan, with |
| 10 | # a modern Clang, this triggers an Asan complaint. The complaint can be |
| 11 | # avoided with ASAN_OPTIONS=allocator_may_return_null=1, but this has to |
| 12 | # be set in the environment before the program starts, and could hide |
| 13 | # other errors. |
| 14 | depends_on:!MBEDTLS_TEST_HAVE_ASAN |
Andrzej Kurek | 60de0b1 | 2023-05-09 16:38:04 -0400 | [diff] [blame] | 15 | check_mbedtls_calloc_overallocation:SIZE_MAX/2:SIZE_MAX/2 |