]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mworker: use after free when the PID not assigned
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 14 May 2019 09:15:18 +0000 (11:15 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 14 May 2019 09:28:16 +0000 (11:28 +0200)
commit920fc8bbe4240cb36653a1a7f6e459e7668c1643
tree3cbf869bc3e4f22fcea9bdc469f660776776d7ad
parentf983d00a1ce89d9505daf1ffde5db1bf58aab1fc
BUG/MINOR: mworker: use after free when the PID not assigned

Commit 4528611 ("MEDIUM: mworker: store the leaving state of a process")
introduced a bug in the mworker_env_to_proc_list() function.

This is very unlikely to occur since the PID should always be assigned.
It can probably happen if the environment variable is corrupted.

No backport needed.
src/mworker.c