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:
f785066
)
r4313: fixed a bug in handling new xattrs in the tdb xattr backend
author
Andrew Tridgell
<tridge@samba.org>
Tue, 21 Dec 2004 11:43:46 +0000
(11:43 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:07:33 +0000
(13:07 -0500)
source/ntvfs/posix/xattr_tdb.c
patch
|
blob
|
history
diff --git
a/source/ntvfs/posix/xattr_tdb.c
b/source/ntvfs/posix/xattr_tdb.c
index 08a2ea4c184e4b3967936477a0c919002bd0dbb0..12fe50c2776d76c7c2f6661166da2377f5107f9b 100644
(file)
--- a/
source/ntvfs/posix/xattr_tdb.c
+++ b/
source/ntvfs/posix/xattr_tdb.c
@@
-47,8
+47,7
@@
static NTSTATUS xattr_tdb_add_list(struct pvfs_state *pvfs, const char *attr_nam
status = pull_xattr_blob_tdb(pvfs, mem_ctx, XATTR_LIST_ATTR,
fname, fd, 100, &blob);
if (!NT_STATUS_IS_OK(status)) {
- talloc_free(mem_ctx);
- return NT_STATUS_OK;
+ blob = data_blob(NULL, 0);
}
for (s=blob.data; s < (char *)(blob.data+blob.length); s += strlen(s) + 1) {