diff --git a/src/mux_quic.c b/src/mux_quic.c index d7ad45dfd873..565b1445e6cb 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -3148,7 +3148,8 @@ static size_t qmux_strm_done_ff(struct stconn *sc) goto end; } - data += sd->iobuf.offset; + if (data) + data += sd->iobuf.offset; total = qcs->qcc->app_ops->done_ff(qcs); if (data || qcs->flags & QC_SF_FIN_STREAM)