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:
9398128
)
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, 22 Jun 2009 20:29:49 +0000
(22:29 +0200)
source/smbd/posix_acls.c
patch
|
blob
|
history
diff --git
a/source/smbd/posix_acls.c
b/source/smbd/posix_acls.c
index 33cba6aeb7ef5f2ec25222d97c3d3340e33a58f6..488646783d99a2f438a6613bef4d6818f6302e96 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;
}