]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: httpclient: check if hdr_num is not 0
authorWilliam Lallemand <wlallemand@haproxy.org>
Fri, 20 Aug 2021 09:59:49 +0000 (11:59 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 20 Aug 2021 09:59:49 +0000 (11:59 +0200)
commit0d6f7790fbe431b148b2514fb8caf800b428bd77
tree50037072563d48849733bafcdcf7cd1c994707e1
parentdfc3f8906d0be94aa0ffe6779309b5d0af369e52
BUG/MINOR: httpclient: check if hdr_num is not 0

Check if hdr_num is not 0 before allocating or copying the headers to
the hc->hdrs space.
src/http_client.c