diff options
author | Volker Lendecke <vl@samba.org> | 2012-06-01 10:32:54 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-06-02 02:12:31 +0200 |
commit | 97a4901d6c16a8628f348edb182849326c3b1f2d (patch) | |
tree | b3ba7d15f8d9fc542a05600065792dc1fa754915 /source3/modules | |
parent | 29a51a22df68ae8929bd8312df03c72bbfa26f81 (diff) | |
download | samba-97a4901d6c16a8628f348edb182849326c3b1f2d.tar.gz samba-97a4901d6c16a8628f348edb182849326c3b1f2d.tar.bz2 samba-97a4901d6c16a8628f348edb182849326c3b1f2d.zip |
s3: Same fix as 8576256, this time for fgetxattr
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jun 2 02:12:31 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_xattr_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_xattr_tdb.c b/source3/modules/vfs_xattr_tdb.c index fc5c3de6e5..859e06b860 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; } |