Author: jra Date: 2005-11-02 20:32:11 +0000 (Wed, 02 Nov 2005) New Revision: 11482
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11482 Log: 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. Modified: branches/SAMBA_3_0/source/utils/smbcacls.c Changeset: Modified: branches/SAMBA_3_0/source/utils/smbcacls.c =================================================================== --- branches/SAMBA_3_0/source/utils/smbcacls.c 2005-11-02 19:31:04 UTC (rev 11481) +++ branches/SAMBA_3_0/source/utils/smbcacls.c 2005-11-02 20:32:11 UTC (rev 11482) @@ -231,7 +231,9 @@ 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;
