]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: server: properly initialize PROXY v2 TLVs
authorDragan Dosen <ddosen@haproxy.com>
Wed, 26 Feb 2025 18:13:31 +0000 (19:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 27 Feb 2025 03:20:45 +0000 (04:20 +0100)
commit6838fe43a320cf090892451ee907967666b626e5
treece34229f1db690cd4f4c13341fc175db8b567586
parent706b008429220e011f3ac9a074ff0e8c83492fb7
BUG/MEDIUM: server: properly initialize PROXY v2 TLVs

The PROXY v2 TLVs were not properly initialized when defined with
"set-proxy-v2-tlv-fmt" keyword, which could have caused a crash when
validating the configuration or malfunction (e.g. when used in
combination with "server-template" and/or "default-server").

The issue was introduced with commit 6f4bfed3a ("MINOR: server: Add
parser support for set-proxy-v2-tlv-fmt").

This should be backported up to 2.9.
src/server.c