]> git.sur5r.net Git - openldap/commitdiff
ITS#8631 Initialize sal
authorOndřej Kuzník <ondra@mistotebe.net>
Mon, 10 Apr 2017 09:42:46 +0000 (10:42 +0100)
committerHoward Chu <hyc@openldap.org>
Mon, 10 Apr 2017 13:24:56 +0000 (14:24 +0100)
servers/slapd/daemon.c

index 160619e857ded8ae94165b07996d839812c5a929..6947df5f9ae6dcd2ea491b23ddc57ede1096c0af 100644 (file)
@@ -1274,7 +1274,7 @@ slap_open_listener(
        LDAPURLDesc *lud;
        unsigned short port;
        int err, addrlen = 0;
-       struct sockaddr **sal, **psal;
+       struct sockaddr **sal = NULL, **psal;
        int socktype = SOCK_STREAM;     /* default to COTS */
        ber_socket_t s;