]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: checks: Avoid incompatible cast when a binary string is parsed
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Apr 2020 08:39:50 +0000 (10:39 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Apr 2020 08:39:52 +0000 (10:39 +0200)
commit2edcd4cbde50093e68e0587c6a26ceaf114cea95
tree130cbabb4e19df12ffed4db51798f4b69a548197
parent931ae5b1034fb61d989e5365aa4ba97f74b8c865
BUG/MINOR: checks: Avoid incompatible cast when a binary string is parsed

parse_binary() function must be called with a pointer on an integer. So don't
pass a pointer on a size_t element, casting it to a pointer on a integer.

Partly fixes issue #600. No backport needed.
src/checks.c