From: Ralph Boehme Date: Thu, 23 Apr 2020 10:00:38 +0000 (+0200) Subject: smbd: use a different error out in one place in unix_convert() X-Git-Tag: ldb-2.2.0~881 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec2adb43481175566627a1676aaf0639fd550057;p=thirdparty%2Fsamba.git smbd: use a different error out in one place in unix_convert() The error label is only used for OOM conditions no smb_fname of dirpath. Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 37f3c52b679..55b0b64bfd4 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -1087,7 +1087,7 @@ NTSTATUS unix_convert(TALLOC_CTX *mem_ctx, DBG_DEBUG("strnorm %s failed\n", state->name); status = NT_STATUS_INVALID_PARAMETER; - goto err; + goto fail; } }