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>
Thu, 3 Sep 2009 06:22:55 +0000 (08:22 +0200)
(cherry picked from commit e1a50994800ce311925214254c0a471a9f32c1f7)

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 */