]> git.sur5r.net Git - openldap/commitdiff
Fix uninit'd serverID field
authorHoward Chu <hyc@openldap.org>
Thu, 5 Apr 2007 01:03:02 +0000 (01:03 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 5 Apr 2007 01:03:02 +0000 (01:03 +0000)
servers/slapd/bconfig.c

index d1085b6fcb8f585269edf5f0acf2380c4e08f48b..49d7f2660dc5aecff783c79fa6ed2d4c0b4ab174 100644 (file)
@@ -1613,6 +1613,7 @@ config_generic(ConfigArgs *c) {
                                                return 1;
                                        }
                                        si = ch_malloc( sizeof(ServerID) );
+                                       BER_BVZERO( &si->si_url );
                                        slap_serverID = num;
                                }
                                si->si_next = NULL;