This bug can be triggered only if the hq_interop traces are enabled. It
has been reported by GH #3468.
In _hq_trace_http(), qcs->qcc->conn was directly passed to TRACE_PRINTF_LOC.
However, qcs can be NULL, leading to a crash.
Fix this by using the <qcc> parameter passed to the function instead,
with a NULL check.
No need to backport.
chunk_appendf(&trash, " qcs=%p(%llu)", qcs, (ullong)qcs->id);
TRACE_PRINTF_LOC(TRACE_LEVEL_USER, mask, trc_loc, func,
- qcs->qcc->conn, qcs, 0, 0,
+ qcc ? qcc->conn : NULL, qcs, 0, 0,
"%s%s %s %s", c_str, s_str,
mask & QMUX_EV_STRM_SEND ? "sndh" : "rcvh", line);
}