1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-23 11:33:16 +03:00

r4313: fixed a bug in handling new xattrs in the tdb xattr backend

This commit is contained in:
Andrew Tridgell
2004-12-21 11:43:46 +00:00
committed by Gerald (Jerry) Carter
parent f78506697a
commit c66b5a100c

View File

@@ -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) {