]> git.ipfire.org Git - thirdparty/openssl.git/commit
statem: fix missing SSLfatal in TLSv1.3 ticket construction master
authorJakub Zelenka <jakub.zelenka@openssl.foundation>
Tue, 4 Aug 2026 16:00:37 +0000 (18:00 +0200)
committerTomas Mraz <tomas@openssl.foundation>
Mon, 10 Aug 2026 13:55:46 +0000 (15:55 +0200)
commitd271efc353856df91d28c8f54ead56b298c852f0
tree943415dc0db383f0f148e5485b3fc1049c1ea1af
parente7c84542e25bca93ec2d3e4819433b8b5e0c483f
statem: fix missing SSLfatal in TLSv1.3 ticket construction

tls_construct_new_session_ticket() assumed ssl_session_dup() calls
SSLfatal() on failure but it never does, unlike all its other call
sites which call SSLfatal() themselves. An allocation failure there
made the construct function return CON_FUNC_ERROR without entering
the fatal state, tripping the check_fatal assertion in
write_state_machine() on debug builds.

Assisted-by: Claude:claude-fable-5
Reviewed-by: Matt Caswell <matt@openssl.foundation>
Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
MergeDate: Mon Aug 10 13:55:51 2026
(Merged from https://github.com/openssl/openssl/pull/32183)
ssl/statem/statem_srvr.c