From: Howard Chu Date: Sat, 5 Jan 2002 13:25:04 +0000 (+0000) Subject: Fix uninitialized pointers X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~277 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=05b9ddc15fb57f2321bb0b40a4ba356f98c85df0;p=openldap Fix uninitialized pointers --- diff --git a/servers/slapd/back-meta/group.c b/servers/slapd/back-meta/group.c index 9d397e67bf..6d6ad2bb7c 100644 --- a/servers/slapd/back-meta/group.c +++ b/servers/slapd/back-meta/group.c @@ -98,8 +98,8 @@ meta_back_group( AttributeDescription *ad_objectClass = slap_schema.si_ad_objectClass; LDAPMessage *result; char *gattr[ 2 ]; - char *filter, *ptr; - LDAP *ld; + char *filter = NULL, *ptr; + LDAP *ld = NULL; struct berval mop_ndn = { 0, NULL }, mgr_ndn = { 0, NULL }; struct berval group_oc_name = { 0, NULL };