]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: log: fix multiple error paths in cfg_parse_log_forward()
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 3 Jul 2023 16:33:18 +0000 (18:33 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 10 Jul 2023 16:28:08 +0000 (18:28 +0200)
commit21cf42f5792af8324ab164991984b87c93018012
treed35d338ad1f09357cfd72c1710d301245e7e5451
parentd1af50c807432506bd5cf603d3b870616bdcbe43
BUG/MINOR: log: fix multiple error paths in cfg_parse_log_forward()

Multiple error paths were badly handled in cfg_parse_log_forward():
some errors were raised without interrupting the function execution,
resulting in undefined behavior.

Instead of fixing issues separately, let's fix the whole function at once.
This should be backported as far as 2.4.
src/log.c