mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-19 20:27:01 +00:00
BUG/MINOR: quic: Non initialized variable in quic_build_post_handshake_frames()
<cid> could be accessed before being initialized.
This commit is contained in:
parent
44ae75220a
commit
411aa6daf5
@ -2983,14 +2983,15 @@ static int quic_build_post_handshake_frames(struct quic_conn *qc)
|
||||
while (node) {
|
||||
struct quic_connection_id *cid;
|
||||
|
||||
|
||||
cid = eb64_entry(&node->node, struct quic_connection_id, seq_num);
|
||||
if (cid->seq_num.key >= max)
|
||||
break;
|
||||
|
||||
cid = eb64_entry(&node->node, struct quic_connection_id, seq_num);
|
||||
node = eb64_next(node);
|
||||
if (cid->seq_num.key < first)
|
||||
continue;
|
||||
|
||||
node = eb64_next(node);
|
||||
ebmb_delete(&cid->node);
|
||||
eb64_delete(&cid->seq_num);
|
||||
pool_free(pool_head_quic_connection_id, cid);
|
||||
|
Loading…
Reference in New Issue
Block a user