]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add NULL check in ossl_quic_get_peer_token
authorNeil Horman <nhorman@openssl.org>
Tue, 13 May 2025 14:48:05 +0000 (10:48 -0400)
committerNeil Horman <nhorman@openssl.org>
Thu, 15 May 2025 12:28:39 +0000 (08:28 -0400)
commit99ea6b38430dc977ba63c832694cdb3c2cb3c2c9
treeb7c2fa98f9f9b46416d5165c9b38e40e070a61bb
parent5da4ea10be8cf8ca66dff95c9997966f21c82029
Add NULL check in ossl_quic_get_peer_token

If a peer address hasn't been set on a quic channel yet, we will not
yield a token from our hashtable of available tokens.  Fail the
get_peer_token lookup in that event

Fixes #27608

Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27610)
ssl/quic/quic_impl.c