The branch, master has been updated
       via  785c65e We don't need check_name() here. All possible paths to 
dptr_create() have already called check_name.
      from  5068a0d s3: Fix smb2 handling error returns from aio

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 785c65e875a58707dacadd493ec26665467d9259
Author: Jeremy Allison <[email protected]>
Date:   Tue Aug 2 16:25:22 2011 -0700

    We don't need check_name() here. All possible paths to dptr_create()
    have already called check_name.
    
    Autobuild-User: Jeremy Allison <[email protected]>
    Autobuild-Date: Wed Aug  3 03:00:55 CEST 2011 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/dir.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index fc74eea..e7c17de 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -447,10 +447,6 @@ NTSTATUS dptr_create(connection_struct *conn, files_struct 
*fsp,
        if (fsp) {
                dir_hnd = OpenDir_fsp(NULL, conn, fsp, wcard, attr);
        } else {
-               status = check_name(conn,path);
-               if (!NT_STATUS_IS_OK(status)) {
-                       return status;
-               }
                dir_hnd = OpenDir(NULL, conn, path, wcard, attr);
        }
 


-- 
Samba Shared Repository

Reply via email to