From f3502d846c99c77b13ce75977f5dc79cc1a3506d 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. --- source/printing/nt_printing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/printing') diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c index f9365b481d4..0a6d37a7f08 100644 --- a/source/printing/nt_printing.c +++ b/source/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