]> 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:26 +0000 (11:24 +0100)
commit2100cf2ee0d377976d28c9e04eefae4e1b5373ea
tree14ac4739e7343463ce055708e1a77a0f03f6e38a
parent4ad45969b028dbf2521fa42ea463978402b3584b
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)
ssl/ssl_lib.c