s3:libwbclient: Fix bug 6349, initialize domain info struct
authorVolker Lendecke <vl@samba.org>
Sun, 30 Aug 2009 09:39:41 +0000 (11:39 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 2 Sep 2009 10:02:24 +0000 (12:02 +0200)
nsswitch/libwbclient/wbc_util.c

index 5c5034ee13f4e5006353901c1a5e45d94d7d5916..c39023f15e29778fba2335fdc924c200f5652a48 100644 (file)
@@ -262,6 +262,8 @@ static wbcErr process_domain_info_string(TALLOC_CTX *ctx,
                BAIL_ON_WBC_ERROR(wbc_status);
        }
 
+       ZERO_STRUCTP(info);
+
        r = info_string;
 
        /* Short Name */