commit | b4f96eda561ce54a9147e86ad4bdb178b0b01311 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Mar 29 14:17:09 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Mar 29 14:17:10 2022 +0200 |
tree | 531ae8627073b52f242e06ee7c57e53b903cf8bf | |
parent | 744451c7c412677dadfe626642ea5d980208e0d1 [diff] |
BUG/MINOR: log: Initialize the list element when allocating a new log server 211ea252d ("BUG/MINOR: logs: fix logsrv leaks on clean exit") introduced a regression because the list element of a new log server is not intialized. Thus HAProxy crashes on error path when an invalid log server is released. This patch shoud fix the issue #1636. It must be backported if the above commit is backported. For now, it is 2.6-specific and no backport is needed.