From: Vincent Bernat <vinc...@bernat.im>

Commit 6e6158 was incomplete. There was an additional aggregate copy
that may trigger a similar case in the future.
---
 src/cfgparse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cfgparse.c b/src/cfgparse.c
index 48e584cf73e7..9b7646523de9 100644
--- a/src/cfgparse.c
+++ b/src/cfgparse.c
@@ -298,7 +298,7 @@ int str2listener(char *str, struct proxy *curproxy, struct 
bind_conf *bind_conf,
                        l->bind_conf = bind_conf;
 
                        l->fd = fd;
-                       l->addr = ss;
+                       memcpy(&l->addr, &ss, sizeof(ss));
                        l->xprt = &raw_sock;
                        l->state = LI_INIT;
 
-- 
2.8.1


Reply via email to