]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:services: Initialize struct security_ace array
authorAndreas Schneider <asn@samba.org>
Mon, 8 Jul 2024 10:21:06 +0000 (12:21 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 16 Jul 2024 11:41:33 +0000 (11:41 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/services/svc_winreg_glue.c

index 50b9897acde0a4761a8f7657d9263c24cfe6b3b8..6d50863af04776a2461913994e158f9917d4095d 100644 (file)
@@ -35,7 +35,7 @@ struct security_descriptor* svcctl_gen_service_sd(TALLOC_CTX *mem_ctx)
 {
        struct security_descriptor *sd = NULL;
        struct security_acl *theacl = NULL;
-       struct security_ace ace[4];
+       struct security_ace ace[4] = {};
        size_t sd_size;
        size_t i = 0;