commit | d90aa347d2a3a81bae8461c009c9b4d69eb069a5 | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Wed May 19 10:45:12 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon May 31 11:31:25 2021 +0200 |
tree | 340c873c33d38e8f2f47b0e4006a291d3ddb0315 | |
parent | a3a8d50d992ab145e5c353cc36e8a787d3aead57 [diff] |
BUG/MINOR: worker: Missing calloc return value check in mworker_env_to_proc_list A memory allocation failure happening in mworker_env_to_proc_list when trying to allocate a mworker_proc would have resulted in a crash. This function is only called during init. It was raised in GitHub issue #1233. It could be backported to all stable branches. (cherry picked from commit 1f4fa906c73e61dba74f9e8b762da12df3052f57) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>