1
0
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:
Jeremy Allison 2005-11-02 20:32:11 +00:00 committed by Gerald (Jerry) Carter
parent 881dd7dbf6
commit f1616911a8

View File

@ -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;