diff options
author | Luke Leighton <lkcl@samba.org> | 2000-06-08 07:55:24 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-06-08 07:55:24 +0000 |
commit | f3502d846c99c77b13ce75977f5dc79cc1a3506d (patch) | |
tree | c4a8728602f34b079d53fd136a8c135668ea5eff /source/printing | |
parent | 0368f68529a9244663c199068e95d1a1d93152fa (diff) | |
download | samba-f3502d846c99c77b13ce75977f5dc79cc1a3506d.tar.gz samba-f3502d846c99c77b13ce75977f5dc79cc1a3506d.tar.xz samba-f3502d846c99c77b13ce75977f5dc79cc1a3506d.zip |
make_sec_acl was passed pointer to static array ace[2], oops.
Diffstat (limited to 'source/printing')
-rw-r--r-- | source/printing/nt_printing.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |