From 6ac53832337549c58b45b84b9a2be502561423d1 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Thu, 8 Jun 2000 07:55:24 +0000 Subject: make_sec_acl was passed pointer to static array ace[2], oops. (This used to be commit f3502d846c99c77b13ce75977f5dc79cc1a3506d) --- source3/printing/nt_printing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index f9365b481d..0a6d37a7f0 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -1506,7 +1506,7 @@ static SEC_DESC_BUF *construct_default_printer_sdb(void) init_sec_ace(&ace[1], &global_sid_World, SEC_ACE_TYPE_ACCESS_ALLOWED, sa, SEC_ACE_FLAG_CONTAINER_INHERIT); - if ((psa = make_sec_acl( ACL_REVISION, 2, &ace)) != NULL) { + if ((psa = make_sec_acl( ACL_REVISION, 2, ace)) != NULL) { psd = make_sec_desc(SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE|SEC_DESC_DACL_PRESENT, &global_sid_World, &global_sid_World, NULL, psa, &sd_size); free_sec_acl(&psa); -- cgit