]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mworker/cli: relative pid prefix not validated anymore
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 20 Jul 2022 12:30:56 +0000 (14:30 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 20 Jul 2022 12:43:47 +0000 (14:43 +0200)
commitbac3a82a507b029b5e0daf81ed57d07ab8e60677
treee43e8612044dec383ed61ac97b10248b3db064ae
parent0f17ab2fdd83ff4f58151a44a8fe1bc22e5b9c18
BUG/MINOR: mworker/cli: relative pid prefix not validated anymore

Since e8422bf ("MEDIUM: global: remove the relative_pid from global and
mworker"), the relative pid prefix is not tested anymore on the master
CLI. Which means any value will fall into the "1" process.

Since we removed the nbproc, only the "1" and the "0" (master) value are
correct, any other value should return an error.

Fix issue #1793.

This must be backported as far as 2.5.
src/cli.c