mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-19 01:54:37 +00:00
BUG/MINOR: quic: Unchecked pointer to packet number space dereferenced
It is possible that there are still Initial crypto data in flight without Handshake crypto data in flight. This is very rare but possible. This issue was reported by long-rtt interop test with quic-go as client and @chipitsine in GH #2276. No need to backport.
This commit is contained in:
parent
9077f20251
commit
d52466726f
@ -1094,7 +1094,7 @@ struct task *qc_process_timer(struct task *task, void *ctx, unsigned int state)
|
||||
else {
|
||||
TRACE_STATE("Cannot probe Initial packet number space", QUIC_EV_CONN_TXPKT, qc);
|
||||
}
|
||||
if (qc->hpktns->tx.in_flight) {
|
||||
if (qc->hpktns && qc->hpktns->tx.in_flight) {
|
||||
qc->flags |= QUIC_FL_CONN_RETRANS_NEEDED;
|
||||
qc->hpktns->flags |= QUIC_FL_PKTNS_PROBE_NEEDED;
|
||||
TRACE_STATE("needs to probe Handshake packet number space", QUIC_EV_CONN_TXPKT, qc);
|
||||
|
Loading…
Reference in New Issue
Block a user