mirror of
https://github.com/samba-team/samba.git
synced 2025-09-06 17:44:20 +03:00
r11482: Arrg. Can't believe this code was in this state. If you
don't initialize the mask then setting "special" access gets set to *random* permissions ! Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
881dd7dbf6
commit
f1616911a8
@@ -231,7 +231,9 @@ static BOOL parse_ace(SEC_ACE *ace, const char *orig_str)
|
|||||||
char *p;
|
char *p;
|
||||||
const char *cp;
|
const char *cp;
|
||||||
fstring tok;
|
fstring tok;
|
||||||
unsigned atype, aflags, amask;
|
unsigned int atype = 0;
|
||||||
|
unsigned int aflags = 0;
|
||||||
|
unsigned int amask = 0;
|
||||||
DOM_SID sid;
|
DOM_SID sid;
|
||||||
SEC_ACCESS mask;
|
SEC_ACCESS mask;
|
||||||
const struct perm_value *v;
|
const struct perm_value *v;
|
||||||
|
Reference in New Issue
Block a user