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, 29 Jun 2009 10:19:20 +0000 (12:19 +0200)
(cherry picked from commit 689b313404971bb884566710b1468b9bd4091caa)

source/smbd/posix_acls.c

index 5f1c2d9b6397aa1fe4618562654a01fcdc1d6034..d679304d901e500663e4a40bc5ce897b34b31bff 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;
        }