commit | 476462010ecc2329e9ecba5afd20f84d9605d809 | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Wed May 19 16:40:28 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon May 31 10:55:51 2021 +0200 |
tree | 2e9b381a5a804342875463291dfef0712b0fb539 | |
parent | 17acbab0ac5933205788eb0a134f9e918247efef [diff] |
BUG/MINOR: proxy: Missing calloc return value check in chash_init_server_tree A memory allocation failure happening in chash_init_server_tree while trying to allocate a server's lb_nodes item used in consistent hashing would have resulted in a crash. This function is only called during configuration parsing. It was raised in GitHub issue #1233. It could be backported to all stable branches.