File 0016-ITS-8631-Initialize-sal.patch of Package openldap2.5013

From 1e0cd601d88092ec5716e14404f5de0e90e95c8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= <ondra@mistotebe.net>
Date: Mon, 10 Apr 2017 10:42:46 +0100
Subject: [PATCH] ITS#8631 Initialize sal

---
 servers/slapd/daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -rupN openldap-2.4.41/servers/slapd/daemon.c openldap-2.4.41-patched/servers/slapd/daemon.c
--- openldap-2.4.41/servers/slapd/daemon.c	2017-06-02 13:57:23.365448642 +0200
+++ openldap-2.4.41-patched/servers/slapd/daemon.c	2017-06-02 13:57:50.837585672 +0200
@@ -1291,7 +1291,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;