mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 01:14:38 +00:00
MINOR: quic: Non checked returned value for cs_new() in hq_interop_decode_qcs()
This should fix CID 1469657 for GH #1546
This commit is contained in:
parent
498e992c1c
commit
1e1fb5db45
@ -73,6 +73,9 @@ static int hq_interop_decode_qcs(struct qcs *qcs, int fin, void *ctx)
|
||||
htx_to_buf(htx, &htx_buf);
|
||||
|
||||
cs = cs_new(qcs->qcc->conn, qcs->qcc->conn->target);
|
||||
if (!cs)
|
||||
return -1;
|
||||
|
||||
cs->ctx = qcs;
|
||||
stream_create_from_cs(cs, &htx_buf);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user