From 9a0caa6258ae3de88ee4a6d06510642668b1d3ca Mon Sep 17 00:00:00 2001
From: Kurt Zeilenga <kurt@openldap.org>
Date: Fri, 4 Jun 1999 22:57:19 +0000
Subject: [PATCH] Initialize connection pointer to NULL else won't be able to
 detect connection table full properly.

---
 servers/slapd/connection.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c
index 4d35842062..bdbbe8c182 100644
--- a/servers/slapd/connection.c
+++ b/servers/slapd/connection.c
@@ -231,6 +231,8 @@ long connection_init(
 	{
 		int i;
 
+		c = NULL;
+
         for( i=0; i < dtblsize; i++) {
             if( connections[i].c_struct_state == SLAP_C_UNINITIALIZED ) {
                 assert( connections[i].c_sb == 0 );
-- 
GitLab