]> git.ipfire.org Git - thirdparty/openssl.git/commit
Ensure SSL_get_app_data() continues to work even in SSL_free()
authorMatt Caswell <matt@openssl.org>
Tue, 18 Mar 2025 12:10:59 +0000 (12:10 +0000)
committerTomas Mraz <tomas@openssl.org>
Thu, 20 Mar 2025 10:24:57 +0000 (11:24 +0100)
commitd8ce455a3d4b0be1199f34e41fdac6ef3c96b9c9
tree2ecfc3eda487327d3b46d41cdd019cb67d4775bf
parent81789a05b7e2d8ba69955addaa413796007e3eb6
Ensure SSL_get_app_data() continues to work even in SSL_free()

During SSL_free() we may get a QUIC TLS callback being called to clean up
any remaining record data. We should ensure that SSL_get_app_data()
continues to work, even in this scenario.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27091)

(cherry picked from commit 2100cf2ee0d377976d28c9e04eefae4e1b5373ea)
ssl/ssl_lib.c