BUG/MINOR: peers: fix possible NULL dereferences at config parsing
Patch 49f6f4b ("BUG/MEDIUM: peers: fix segfault using multiple bind on
peers sections") introduced possible NULL dereferences when parsing the
peers configuration.
Fix the issue by checking the return value of bind_conf_uniq_alloc().
This patch should be backported as far as 2.0.
(cherry picked from commit 1d93217a057cb202a49b0fae2ebcffc32495fbe6)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit e9d5cb4efdd0050503c34192033c6fc59cdbdbc9)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit ccaee35443b6334c50ef36659a6a48774992457c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed