git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a15c816
)
Fix bug #6488.
author
Jeremy Allison
<jra@samba.org>
Mon, 22 Jun 2009 20:29:49 +0000
(22:29 +0200)
committer
Karolin 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
patch
|
blob
|
history
diff --git
a/source/smbd/posix_acls.c
b/source/smbd/posix_acls.c
index 5f1c2d9b6397aa1fe4618562654a01fcdc1d6034..d679304d901e500663e4a40bc5ce897b34b31bff 100644
(file)
--- a/
source/smbd/posix_acls.c
+++ b/
source/smbd/posix_acls.c
@@
-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;
}