From 93fc3a024820bd4a01565b301d37b0e4106500ac Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 16 Aug 2007 12:15:52 +0000 Subject: r24485: Even in the failure case unix_convert must pass the already converted part of the string to the caller. (This used to be commit 301ae3d68bc64c9526eb7d4458584a5ebb151137) --- source3/smbd/filename.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/filename.c') diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index d5c22e81c3..6ab179a316 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -603,8 +603,8 @@ NTSTATUS unix_convert(connection_struct *conn, done: result = NT_STATUS_OK; - pstrcpy(orig_path, name); fail: + pstrcpy(orig_path, name); SAFE_FREE(name); SAFE_FREE(dirpath); return result; -- cgit