diff options
author | Volker Lendecke <vl@samba.org> | 2021-03-23 11:55:43 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2021-03-24 20:31:30 +0000 |
commit | a4235cdad276640c45eedf0fb5611209400ec6af (patch) | |
tree | a46068bb11f89accfeb150644cd9c2ca40da79fd /source3 | |
parent | a90d45979e5aba1a0cc6826203eb5aaca9bb1c7c (diff) | |
download | samba-a4235cdad276640c45eedf0fb5611209400ec6af.tar.gz |
vfs_ceph: Fix CID 1474440: Null pointer dereferences
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_ceph.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |