s3: Fix vfs_xattr_tdb.c
authorVolker Lendecke <vl@samba.org>
Mon, 21 May 2012 12:41:40 +0000 (14:41 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 21 May 2012 20:10:15 +0000 (22:10 +0200)
commit857625673833ddfa3897ce30def118cb593865b6
tree62820d2d710b93ba8806b9e598d5e5cab42ba489
parentce11eb5b9427e4ba5b86c6cd0378a7300ce1218f
s3: Fix vfs_xattr_tdb.c

"size" is the maximum buffer, only copy what we actually got. For me, this
fixes valgrind errors in the DIR1 test that might potentially make DIR1
non-flaky again.

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon May 21 22:10:15 CEST 2012 on sn-devel-104
source3/modules/vfs_xattr_tdb.c