]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:libnet: Initialize struct ODJ_POLICY_DNS_DOMAIN_INFO
authorAndreas Schneider <asn@samba.org>
Fri, 10 Dec 2021 14:10:39 +0000 (15:10 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 15 Dec 2021 19:32:30 +0000 (19:32 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libnet/libnet_join_offline.c

index 58d941e823068abfed6c366f929e26bf96af9bdf..33380207209e319cf2b90db32b8b4558e7afb962 100644 (file)
@@ -30,7 +30,9 @@ static WERROR libnet_odj_compose_ODJ_WIN7BLOB(TALLOC_CTX *mem_ctx,
 {
        char *samaccount;
        uint32_t len;
-       struct ODJ_POLICY_DNS_DOMAIN_INFO i;
+       struct ODJ_POLICY_DNS_DOMAIN_INFO i = {
+               .Sid = NULL,
+       };
 
        ZERO_STRUCTP(b);