1
0
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:
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; 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;