mbedtls/programs/test
Manuel Pégourié-Gonnard 5408f72027 Fix integer overflow in benchmark program
When building with MBEDTLS_MEMORY_DEBUG enabled, and running the ecdh part,
the benchmark program would start writing a very large number of space
characters on stdout, and would have to be killed because it never seemed to
terminate.

This was due to an integer overflow in computing how many space to leave after
the title in order to get memory measurements aligned, which resulted in up
to SIZE_MAX spaces being printed.

This commit just fixes the overflow, the next commit is going to fix the magic
number (12).

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2020-04-17 11:19:49 +02:00
..
benchmark.c Fix integer overflow in benchmark program 2020-04-17 11:19:49 +02:00
CMakeLists.txt Remove ssl_cert_test sample app 2019-04-07 16:59:13 +03:00
selftest.c Add a calloc self-test 2019-09-30 13:59:47 +02:00
udp_proxy.c Fix some style issues in udp_proxy 2020-03-31 12:46:13 +02:00