mbedtls/library
Gilles Peskine a6f99a1aab Fix crash with DTLS_CONNECTION_ID but not other SSL features
In configurations with MBEDTLS_SSL_DTLS_CONNECTION_ID enabled but none of
MBEDTLS_SSL_HW_RECORD_ACCEL, MBEDTLS_SSL_EXPORT_KEYS or MBEDTLS_DEBUG_C,
DTLS handshakes using CID would crash due to a null pointer dereference.
Fix this. Fixes #3998.

Detected by running compat.sh in config-ccm-psk-dtls1_2.h.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-04-13 13:45:24 +02:00
..
.gitignore
aes.c
aesni.c
arc4.c
aria.c
asn1parse.c
asn1write.c
base64.c
bignum.c
blowfish.c
camellia.c
ccm.c
certs.c
chacha20.c
chachapoly.c
check_crypto_config.h
cipher.c Merge pull request #5255 from AndrzejKurek/chacha-iv-len-16-fixes-2.x 2022-02-03 11:31:34 +01:00
cipher_wrap.c
cmac.c
CMakeLists.txt Bump version to 2.28.0 2021-12-15 11:55:31 +00:00
common.h
constant_time.c Cap the workaround for mbedtls_mpi_safe_cond_assign on MSVC/ARM64 to MSVC versions prior to 17.1. 2022-01-31 13:37:47 -08:00
constant_time_internal.h
constant_time_invasive.h
ctr_drbg.c
debug.c
des.c
dhm.c
ecdh.c
ecdsa.c
ecjpake.c
ecp.c
ecp_curves.c
ecp_invasive.h
entropy.c
entropy_poll.c
error.c
gcm.c
havege.c
hkdf.c
hmac_drbg.c
Makefile Bump version to 2.28.0 2021-12-15 11:55:31 +00:00
md.c
md2.c
md4.c
md5.c
memory_buffer_alloc.c
mps_common.h
mps_error.h
mps_reader.c
mps_reader.h
mps_trace.c
mps_trace.h
net_sockets.c Add a missing guard for time.h in net_sockets.c 2022-03-04 15:25:42 -05:00
nist_kw.c
oid.c
padlock.c
pem.c
pk.c
pk_wrap.c
pkcs5.c
pkcs11.c
pkcs12.c
pkparse.c
pkwrite.c
platform.c
platform_util.c
poly1305.c
psa_crypto.c Merge remote-tracking branch 'restricted/development_2.x-restricted' into mbedtls-2.28.0rc0-pr 2021-12-14 12:52:51 +00:00
psa_crypto_aead.c
psa_crypto_aead.h
psa_crypto_cipher.c Merge remote-tracking branch 'restricted/development_2.x-restricted' into mbedtls-2.28.0rc0-pr 2021-12-14 12:52:51 +00:00
psa_crypto_cipher.h Merge remote-tracking branch 'restricted/development_2.x-restricted' into mbedtls-2.28.0rc0-pr 2021-12-14 12:52:51 +00:00
psa_crypto_client.c
psa_crypto_core.h
psa_crypto_driver_wrappers.c Merge remote-tracking branch 'restricted/development_2.x-restricted' into mbedtls-2.28.0rc0-pr 2021-12-14 12:52:51 +00:00
psa_crypto_driver_wrappers.h Merge remote-tracking branch 'restricted/development_2.x-restricted' into mbedtls-2.28.0rc0-pr 2021-12-14 12:52:51 +00:00
psa_crypto_ecp.c
psa_crypto_ecp.h
psa_crypto_hash.c
psa_crypto_hash.h
psa_crypto_invasive.h
psa_crypto_its.h
psa_crypto_mac.c
psa_crypto_mac.h
psa_crypto_random_impl.h
psa_crypto_rsa.c
psa_crypto_rsa.h
psa_crypto_se.c
psa_crypto_se.h
psa_crypto_slot_management.c
psa_crypto_slot_management.h
psa_crypto_storage.c Erase secrets in allocated memory before freeing said memory 2022-03-04 10:35:19 +01:00
psa_crypto_storage.h
psa_its_file.c Update library/psa_its_file.c 2022-02-16 15:49:29 +01:00
ripemd160.c
rsa.c PKCS#1v1.5 signature: better cleanup of temporary values 2021-12-13 13:55:17 +01:00
rsa_internal.c
sha1.c
sha256.c
sha512.c
ssl_cache.c
ssl_ciphersuites.c
ssl_cli.c Add missing key destruction calls in ssl_write_client_key_exchange 2022-02-25 04:42:03 -05:00
ssl_cookie.c
ssl_msg.c
ssl_srv.c ssl_srv.c: Mark ETM as disabled if cipher is not CBC 2022-03-28 12:16:13 +02:00
ssl_ticket.c
ssl_tls.c Fix crash with DTLS_CONNECTION_ID but not other SSL features 2022-04-13 13:45:24 +02:00
ssl_tls13_keys.c
ssl_tls13_keys.h
threading.c Fix typo "phtreads" to "pthreads" 2022-03-29 17:56:55 +02:00
timing.c Remove the dependency on MBEDTLS_HAVE_TIME from MBEDTLS_TIMING_C 2022-04-08 08:34:41 -04:00
version.c
version_features.c
x509.c
x509_create.c
x509_crl.c Do not include time.h without MBEDTLS_HAVE_TIME 2022-03-04 15:25:42 -05:00
x509_crt.c Do not include time.h without MBEDTLS_HAVE_TIME 2022-03-04 15:25:42 -05:00
x509_csr.c
x509write_crt.c
x509write_csr.c
xtea.c