]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: checks: Set the output buffer length before calling parse_binary()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Apr 2020 14:40:41 +0000 (16:40 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Apr 2020 14:43:39 +0000 (16:43 +0200)
commit9c2cb2deee130247bffa3a75dadfd86b268f6671
treef6926d8866d5d5b6f7b25c2a75cf561b9342ab20
parent57c8eb939dfa240892dd74cc90ce46578783e5ae
BUG/MINOR: checks: Set the output buffer length before calling parse_binary()

A bug was introduced in the commit 2edcd4cbd ("BUG/MINOR: checks: Avoid
incompatible cast when a binary string is parsed"). The length of the
destination buffer must be set before call the parse_binary() function.

No backport needed.
src/checks.c