mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +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:
parent
881dd7dbf6
commit
f1616911a8
@ -231,7 +231,9 @@ static BOOL parse_ace(SEC_ACE *ace, const char *orig_str)
|
||||
char *p;
|
||||
const char *cp;
|
||||
fstring tok;
|
||||
unsigned atype, aflags, amask;
|
||||
unsigned int atype = 0;
|
||||
unsigned int aflags = 0;
|
||||
unsigned int amask = 0;
|
||||
DOM_SID sid;
|
||||
SEC_ACCESS mask;
|
||||
const struct perm_value *v;
|
||||
|
Loading…
Reference in New Issue
Block a user