From c3abd320e67f77d016d2e02da084c34615d1c7f9 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 8 Jul 2024 12:21:06 +0200 Subject: [PATCH] s3:services: Initialize struct security_ace array Signed-off-by: Andreas Schneider Reviewed-by: Guenther Deschner --- source3/services/svc_winreg_glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/services/svc_winreg_glue.c b/source3/services/svc_winreg_glue.c index 50b9897acde..6d50863af04 100644 --- a/source3/services/svc_winreg_glue.c +++ b/source3/services/svc_winreg_glue.c @@ -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;