openssl/ssl
Matt Caswell 0577dbad07 Fix a memory leak in tls_new_record_layer
If setting the crypto state has failed then memory might have been
partially allocated to fields within the partially constructed record
layer. We need to call tls_int_free() to properly free it.

Found by the reproducible error patch in openssl#21668

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21753)
2023-08-17 21:35:53 +02:00
..
quic quic: process stateless resets 2023-08-16 12:07:17 +02:00
record Fix a memory leak in tls_new_record_layer 2023-08-17 21:35:53 +02:00
statem TLS KeyUpdate messages are not allowed in QUIC 2023-08-15 14:41:31 +01:00
bio_ssl.c bio_ssl.c: Support most ctrls with QUIC based BIO_SSL 2023-08-08 15:57:56 +02:00
build.info
d1_lib.c
d1_msg.c
d1_srtp.c
event_queue.c EVENT QUEUE: Fix memory leak (coverity) 2023-08-10 18:19:50 +01:00
methods.c
pqueue.c
priority_queue.c
s3_enc.c
s3_lib.c Don't forget we are doing QUIC if we clear the QUIC TLS data 2023-08-15 14:41:31 +01:00
s3_msg.c
ssl_asn1.c
ssl_cert_comp.c
ssl_cert_table.h
ssl_cert.c
ssl_ciph.c
ssl_conf.c
ssl_err_legacy.c
ssl_err.c QUIC TLS: Rethink error handling 2023-08-08 14:33:42 +01:00
ssl_init.c
ssl_lib.c Resolve some of the TODO(QUIC) items 2023-08-08 15:58:59 +02:00
ssl_local.h ssl_local.h: Define SSL_OP_CISCO_ANYCONNECT if undefined in public headers 2023-08-14 15:55:33 +02:00
ssl_mcnf.c
ssl_rsa_legacy.c
ssl_rsa.c
ssl_sess.c
ssl_stat.c
ssl_txt.c
ssl_utst.c
sslerr.h
t1_enc.c
t1_lib.c
t1_trce.c
tls13_enc.c
tls_depr.c
tls_srp.c