The branch, master has been updated via 97a4901 s3: Same fix as 8576256, this time for fgetxattr from 29a51a2 s3: Avoid a lot of calls to serverid_exists()
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 97a4901d6c16a8628f348edb182849326c3b1f2d Author: Volker Lendecke <v...@samba.org> Date: Fri Jun 1 10:32:54 2012 +0200 s3: Same fix as 8576256, this time for fgetxattr Signed-off-by: Jeremy Allison <j...@samba.org> Autobuild-User: Jeremy Allison <j...@samba.org> Autobuild-Date: Sat Jun 2 02:12:31 CEST 2012 on sn-devel-104 ----------------------------------------------------------------------- Summary of changes: source3/modules/vfs_xattr_tdb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/modules/vfs_xattr_tdb.c b/source3/modules/vfs_xattr_tdb.c index fc5c3de..859e06b 100644 --- a/source3/modules/vfs_xattr_tdb.c +++ b/source3/modules/vfs_xattr_tdb.c @@ -91,7 +91,7 @@ static ssize_t xattr_tdb_fgetxattr(struct vfs_handle_struct *handle, errno = ERANGE; return -1; } - memcpy(value, blob.data, size); + memcpy(value, blob.data, xattr_size); TALLOC_FREE(frame); return xattr_size; } -- Samba Shared Repository