Fix bug #6488.
authorJeremy Allison <jra@samba.org>
Mon, 22 Jun 2009 20:29:49 +0000 (22:29 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 22 Jun 2009 20:29:49 +0000 (22:29 +0200)
source/smbd/posix_acls.c

index 33cba6aeb7ef5f2ec25222d97c3d3340e33a58f6..488646783d99a2f438a6613bef4d6818f6302e96 100644 (file)
@@ -2296,6 +2296,8 @@ static BOOL acl_group_override(connection_struct *conn, gid_t prim_gid, const ch
 {
        SMB_STRUCT_STAT sbuf;
 
+       ZERO_STRUCT(sbuf);
+
        if ((errno != EPERM) && (errno != EACCES)) {
                return False;
        }