From: Ralph Boehme Date: Sun, 3 May 2020 13:07:45 +0000 (+0200) Subject: smbd: realign synthetic_smb_fname() args in file_new() X-Git-Tag: ldb-2.2.0~702 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b102ab4f41f88d0f11d3c85ba1f59dac9841f30f;p=thirdparty%2Fsamba.git smbd: realign synthetic_smb_fname() args in file_new() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/files.c b/source3/smbd/files.c index e5bb3d2c268..fc84385c113 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -140,7 +140,11 @@ NTSTATUS file_new(struct smb_request *req, connection_struct *conn, * few NULL checks, so make sure it's initialized with something. to * be safe until an audit can be done. */ - fsp->fsp_name = synthetic_smb_fname(fsp, "", NULL, NULL, 0); + fsp->fsp_name = synthetic_smb_fname(fsp, + "", + NULL, + NULL, + 0); if (fsp->fsp_name == NULL) { file_free(NULL, fsp); return NT_STATUS_NO_MEMORY;