mirror of
https://github.com/cuberite/polarssl.git
synced 2025-08-23 04:51:13 -04:00

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. Reproduced from a commit in mbedtls#8286 Signed-off-by: David Horstmann <david.horstmann@arm.com>