commit | 035058e8bfe4fc731b2ede8fcdc2b8d14c4936ce | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Wed Dec 07 15:21:24 2022 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Wed Dec 07 15:27:36 2022 +0100 |
tree | f97b1ce6171321eff36b6bd0ba640f1d368345b5 | |
parent | 40db4ae8bb864adfebbd4529a3bae187974b3698 [diff] |
BUG/MEDIUM: mworker: fix segv in early failure of mworker mode with peers During an early failure of the mworker mode, the mworker_cleanlisteners() function is called and tries to cleanup the peers, however the peers are in a semi-initialized state and will use NULL pointers. The fix check the variable before trying to use them. Bug revealed in issue #1956. Could be backported as far as 2.0.