MINOR: h3: fix potential NULL dereference
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 8 Nov 2021 08:13:42 +0000 (09:13 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 8 Nov 2021 08:17:24 +0000 (09:17 +0100)
commitb9ce14e5a26875d64a77ac47341fa13370288863
tree390dd17fb723981069518f3b8d46e10dfee3ae96
parent7bb54f99060989916b31ad1eeaae82958876fa47
MINOR: h3: fix potential NULL dereference

Fix potential allocation failure of HTX start-line during H3 request
decoding. In this case, h3_decode_qcs returns -1 as error code.

This addresses in part github issue #1445.
src/h3.c
src/xprt_quic.c