From 848214f788cb561935b8200d6e795df2de1cb8fa Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Mon, 18 Sep 2017 17:47:52 +0100 Subject: SOCKS: fix unitialized-pointer --- src/src/transports/smtp_socks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/src/transports/smtp_socks.c b/src/src/transports/smtp_socks.c index 555843068..92d13659d 100644 --- a/src/src/transports/smtp_socks.c +++ b/src/src/transports/smtp_socks.c @@ -285,7 +285,7 @@ for(;;) sob = &proxies[idx]; /* bodge up a host struct for the proxy */ - proxy.address = sob->proxy_host; + proxy.address = proxy.name = sob->proxy_host; proxy_af = Ustrchr(sob->proxy_host, ':') ? AF_INET6 : AF_INET; if ((fd = smtp_sock_connect(&proxy, proxy_af, sob->port, -- cgit v1.2.3