mbedtls/programs/ssl
Gilles Peskine 8bb96d96cd Fix buffer size calculation
Make sure that buf always has enough room for what it will contain. Before,
this was not the case if the buffer was smaller than the default response,
leading to memory corruption in ssl_server2.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-04-06 23:31:05 +02:00
..
CMakeLists.txt Rename DEV_MODE to GEN_FILES 2021-10-25 13:16:04 +01:00
dtls_client.c Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
dtls_server.c Allow read-only access to lists of certificates, CRL, CRL entries 2021-08-31 23:18:07 +02:00
mini_client.c mbedtls_net_context: make fd public on Unix/POSIX platforms 2021-08-31 22:54:27 +02:00
ssl_client1.c Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
ssl_client2.c Merge pull request #5462 from gilles-peskine-arm/ssl-test-pkey-message-clarity 2022-02-03 11:33:03 +01:00
ssl_context_info.c Fix printf format specifier 2021-12-09 17:25:04 +00:00
ssl_fork_server.c Allow read-only access to lists of certificates, CRL, CRL entries 2021-08-31 23:18:07 +02:00
ssl_mail_client.c Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
ssl_pthread_server.c Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
ssl_server.c Allow read-only access to lists of certificates, CRL, CRL entries 2021-08-31 23:18:07 +02:00
ssl_server2.c Fix buffer size calculation 2022-04-06 23:31:05 +02:00
ssl_test_common_source.c fix deprecated-declarations error 2022-01-25 12:46:17 +08:00
ssl_test_lib.c Add MBEDTLS_ALLOW_PRIVATE_ACCESS to test programs 2021-05-21 18:10:44 +02:00
ssl_test_lib.h Merge pull request #5428 from gstrauss/mbedtls_ssl_ciphersuite 2022-01-24 11:13:31 +01:00