]> git.ipfire.org Git - thirdparty/openssl.git/commit
Ensure we properly release DTLS buffered app data records
authorMatt Caswell <matt@openssl.org>
Fri, 2 May 2025 15:37:32 +0000 (16:37 +0100)
committerTodd Short <todd.short@me.com>
Thu, 8 May 2025 18:16:39 +0000 (14:16 -0400)
commit448815dd26556bf2361783307e9ee22465ec9d6c
treed861e351bfb585ba97d63b0e47256fbaab1104f6
parentd77ad352d9f9277ce3aea0e5fab5a50ea7095bb2
Ensure we properly release DTLS buffered app data records

If we read an app data record before we have read the Finished we buffer
it. Once we've read it we need to make sure we've properly released it
otherwise we will attempt to read it again (and this time there will be
no data in it).

Fixes #27316

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/27543)

(cherry picked from commit d459d00f97959d5003b29f32d52a53208507cda1)
ssl/record/rec_layer_s3.c