[SCM] Samba Shared Repository - branch master updated

David Disseldorp ddiss at samba.org
Fri May 10 13:00:02 UTC 2019

The branch, master has been updated
       via  21dc6f8e8d8 vfs_ceph: fix cephwrap_flistxattr() debug message
      from  a5d1df4a8f9 s3 rpc_client: Fix Asan stack use after scope


- Log -----------------------------------------------------------------
commit 21dc6f8e8d82f84e4afda355a48fbbd39c7fe800
Author: David Disseldorp <ddiss at samba.org>
Date:   Fri May 10 13:18:49 2019 +0200

    vfs_ceph: fix cephwrap_flistxattr() debug message
    The @list buffer may be uninitialised prior to ceph_flistxattr()
    invocation, so only log the address.
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=13940
    Signed-off-by: David Disseldorp <ddiss at samba.org>
    Reviewed-by: Andreas Schneider <asn at samba.org>
    Autobuild-User(master): David Disseldorp <ddiss at samba.org>
    Autobuild-Date(master): Fri May 10 12:59:05 UTC 2019 on sn-devel-184


Summary of changes:
 source3/modules/vfs_ceph.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c
index 57de8bc891a..6f29629566e 100644
--- a/source3/modules/vfs_ceph.c
+++ b/source3/modules/vfs_ceph.c
@@ -1315,7 +1315,8 @@ static ssize_t cephwrap_listxattr(struct vfs_handle_struct *handle,
 static ssize_t cephwrap_flistxattr(struct vfs_handle_struct *handle, struct files_struct *fsp, char *list, size_t size)
 	int ret;
-	DBG_DEBUG("[CEPH] flistxattr(%p, %p, %s, %llu)\n", handle, fsp, list, llu(size));
+	DBG_DEBUG("[CEPH] flistxattr(%p, %p, %p, %llu)\n",
+		  handle, fsp, list, llu(size));
 	ret = ceph_flistxattr(handle->data, fsp->fh->fd, list, size);

Samba Shared Repository

More information about the samba-cvs mailing list