The branch, master has been updated
       via  7254898bc760984357f068926cb4504c154d5cae (commit)
      from  eba2eb45e208e6b3091c01ff1d40fd966e72a044 (commit)

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


- Log -----------------------------------------------------------------
commit 7254898bc760984357f068926cb4504c154d5cae
Author: Jeremy Allison <j...@samba.org>
Date:   Fri Jul 17 21:26:16 2009 -0700

    Fix coverity CID 931. This check is redundent as smb_fname can
    never be null in this function.
    Jeremy.

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 06536f9..561c18a 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -7244,7 +7244,7 @@ NTSTATUS smbd_do_setfilepathinfo(connection_struct *conn,
 
                case SMB_SET_FILE_UNIX_HLINK:
                {
-                       if (fsp || smb_fname == NULL) {
+                       if (fsp) {
                                /* We must have a pathname for this. */
                                return NT_STATUS_INVALID_LEVEL;
                        }


-- 
Samba Shared Repository

Reply via email to