From: Volker Lendecke Date: Tue, 23 Mar 2021 10:55:43 +0000 (+0100) Subject: vfs_ceph: Fix CID 1474440: Null pointer dereferences X-Git-Tag: tevent-0.11.0~1387 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4235cdad276640c45eedf0fb5611209400ec6af;p=thirdparty%2Fsamba.git vfs_ceph: Fix CID 1474440: Null pointer dereferences Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c index e371090c95d..038258a1d8d 100644 --- a/source3/modules/vfs_ceph.c +++ b/source3/modules/vfs_ceph.c @@ -1408,7 +1408,7 @@ static NTSTATUS cephwrap_create_dfs_pathat(struct vfs_handle_struct *handle, out: DBG_DEBUG("[CEPH] create_dfs_pathat(%s) = %s\n", - full_fname->base_name, + full_fname != NULL ? full_fname->base_name : "", nt_errstr(status)); TALLOC_FREE(frame);