]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mworker: avoid passing NULL version in proc list serialization
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 13 Mar 2026 19:24:37 +0000 (20:24 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 13 Mar 2026 19:26:53 +0000 (20:26 +0100)
commita3bf0de6518e6a32eeafecd8b78dc8514cb63d53
tree389e9f39675a639fe6959fa0008c3ec8c2f42e8e
parent51d6f1ca4f75c18f9a6ad8e18adc4c1f336d5fa6
BUG/MINOR: mworker: avoid passing NULL version in proc list serialization

Add a NULL guard for the version field. This has no functional impact
since the master process never uses this field for its own mworker_proc
element, and should be the only one impacted. This avoid seeing "(null)"
in the version field when debugging.

Must be backported to 3.1 and later.
src/mworker.c