openssl/ssl/record
Matt Caswell 92e3f43aec Don't free the prev BIO prematurely
We shouldn't free the prev BIO in ssl_set_new_record_layer until it is
no longer referenced by s->rlayer.rrlnext.

Found by the reproducible error patch in #21668

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21741)
2023-08-17 08:06:43 +01:00
..
methods Fix typos found by codespell 2023-06-15 10:11:46 +10:00
build.info Move declarations out of record.h and record_local.h 2022-11-14 07:51:17 +00:00
rec_layer_d1.c Allow partially releasing a record for TLS 2023-04-12 11:02:01 +10:00
rec_layer_s3.c Don't free the prev BIO prematurely 2023-08-17 08:06:43 +01:00
record_local.h Move declarations out of record.h and record_local.h 2022-11-14 07:51:17 +00:00
record.h Allow partially releasing a record for TLS 2023-04-12 11:02:01 +10:00