git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29a51a2
)
s3: Same fix as 8576256, this time for fgetxattr
author
Volker Lendecke
<vl@samba.org>
Fri, 1 Jun 2012 08:32:54 +0000
(10:32 +0200)
committer
Jeremy Allison
<jra@samba.org>
Sat, 2 Jun 2012 00:12:31 +0000
(
02:12
+0200)
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
source3/modules/vfs_xattr_tdb.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_xattr_tdb.c
b/source3/modules/vfs_xattr_tdb.c
index fc5c3de6e52c4a6e74b32a7b6ea0649edb860772..859e06b8606cecb61a0adbaca007230fd02fc3b6 100644
(file)
--- 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;
}