]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: use a different error out in one place in unix_convert()
authorRalph Boehme <slow@samba.org>
Thu, 23 Apr 2020 10:00:38 +0000 (12:00 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 24 Apr 2020 21:46:27 +0000 (21:46 +0000)
The error label is only used for OOM conditions no smb_fname of dirpath.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/filename.c

index 37f3c52b67977dbb3bafeed22b05b1dbee0b6a8a..55b0b64bfd4ddd01ad3fd9f7eaf650bdc36967a0 100644 (file)
@@ -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;
                                        }
                                }