From 05b9ddc15fb57f2321bb0b40a4ba356f98c85df0 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 5 Jan 2002 13:25:04 +0000 Subject: [PATCH] Fix uninitialized pointers --- servers/slapd/back-meta/group.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }; -- 2.39.5