projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
167e5f3
)
QUIC CHANNEL: Make a QUIC_PORT mandatory
author
Hugo Landau
<hlandau@openssl.org>
Thu, 9 Nov 2023 10:27:13 +0000
(10:27 +0000)
committer
Hugo Landau
<hlandau@openssl.org>
Thu, 21 Dec 2023 08:11:59 +0000
(08:11 +0000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22674)
ssl/quic/quic_channel.c
patch
|
blob
|
history
diff --git
a/ssl/quic/quic_channel.c
b/ssl/quic/quic_channel.c
index 22a1b158d2f814e1ae5eb87e51891e232f2573c5..8a7ddb9f3914ef4cb4feca0e09faa1049b6c7e46 100644
(file)
--- a/
ssl/quic/quic_channel.c
+++ b/
ssl/quic/quic_channel.c
@@
-274,6
+274,9
@@
static int ch_init(QUIC_CHANNEL *ch)
uint32_t pn_space;
size_t rx_short_cid_len = ch->is_server ? INIT_DCID_LEN : 0;
+ if (ch->port == NULL)
+ goto err;
+
ossl_list_stateless_reset_tokens_init(&ch->srt_list_seq);
ch->srt_hash_tok = lh_QUIC_SRT_ELEM_new(&chan_reset_token_hash,
&chan_reset_token_cmp);