git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
292ed5d
)
fixed a valgrind error in id mapping
author
Andrew Tridgell
<tridge@samba.org>
Mon, 14 Apr 2008 16:59:40 +0000
(18:59 +0200)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 14 Apr 2008 16:59:40 +0000
(18:59 +0200)
the status field is sent on both call and reply, but was only being
initialised on reply
(This used to be commit
2ebd7b80998775168959d511fbc987f8b5b7bd34
)
source4/ntvfs/posix/pvfs_acl.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/pvfs_acl.c
b/source4/ntvfs/posix/pvfs_acl.c
index 2393a2e7a3c2d3bb19895c3dcf8c8b14d0cc0323..f1e469f7909fdb9b8b394cd36687fea606fa844f 100644
(file)
--- a/
source4/ntvfs/posix/pvfs_acl.c
+++ b/
source4/ntvfs/posix/pvfs_acl.c
@@
-135,7
+135,7
@@
static NTSTATUS pvfs_default_acl(struct pvfs_state *pvfs,
}
sd = *psd;
- ids = talloc_array(sd, struct id_mapping, 2);
+ ids = talloc_
zero_
array(sd, struct id_mapping, 2);
NT_STATUS_HAVE_NO_MEMORY(ids);
ids[0].unixid = talloc(ids, struct unixid);