diff --git a/src/quic_tx.c b/src/quic_tx.c index 46dd6bad87..67c57efb57 100644 --- a/src/quic_tx.c +++ b/src/quic_tx.c @@ -1333,7 +1333,8 @@ int qc_dgrams_retransmit(struct quic_conn *qc) if (!LIST_ISEMPTY(&hfrms)) hpktns->tx.pto_probe = 1; qc->iel->retrans_frms = &ifrms; - qc->hel->retrans_frms = &hfrms; + if (qc->hel) + qc->hel->retrans_frms = &hfrms; if (!qc_send_hdshk_pkts(qc, 1, qc->iel, qc->hel)) goto leave; /* Put back unsent frames in their packet number spaces */