commit | 1e1fb5db45dba2da76c0a6ae0effeb73c3d58aa1 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Tue Feb 15 09:13:05 2022 +0100 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Tue Feb 15 17:23:44 2022 +0100 |
tree | 3c97c93b10ae8eaaf01665d0ffcd0d4038ff8b29 | |
parent | 498e992c1cfbd5de6e1a513d745438433800f541 [diff] [blame] |
MINOR: quic: Non checked returned value for cs_new() in hq_interop_decode_qcs() This should fix CID 1469657 for GH #1546
diff --git a/src/hq_interop.c b/src/hq_interop.c index 11d729a..0e2c6cd 100644 --- a/src/hq_interop.c +++ b/src/hq_interop.c
@@ -73,6 +73,9 @@ 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);