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)
committerVolker Lendecke <vl@samba.org>
Sun, 30 Aug 2009 09:40:59 +0000 (11:40 +0200)
nsswitch/libwbclient/wbc_util.c

index 7f3b61bb25d4f22c25689501510c78d13b3e48f4..24b5922c590e7e300743474e35856bfdae04fc41 100644 (file)
@@ -263,6 +263,8 @@ static wbcErr process_domain_info_string(TALLOC_CTX *ctx,
                BAIL_ON_WBC_ERROR(wbc_status);
        }
 
+       ZERO_STRUCTP(info);
+
        r = info_string;
 
        /* Short Name */