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

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


- Log -----------------------------------------------------------------
commit d654782806af37ba0d249f695ebecaad2a6ad3a7
Author: Jeremy Allison <j...@samba.org>
Date:   Fri Jul 17 21:29:28 2009 -0700

    Fix coverity CID 930. Pointer check can never be null here.
    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 561c18a..cb76deb 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -4806,7 +4806,7 @@ static void call_trans2qfilepathinfo(connection_struct 
*conn,
 
                        /* We know this name is ok, it's already passed the 
checks. */
 
-               } else if(fsp && (fsp->is_directory || fsp->fh->fd == -1)) {
+               } else if(fsp->is_directory || fsp->fh->fd == -1) {
                        /*
                         * This is actually a QFILEINFO on a directory
                         * handle (returned from an NT SMB). NT5.0 seems


-- 
Samba Shared Repository

Reply via email to