The branch, master has been updated
       via  ed88ff18ddd4267eaecd11140ebcb5a59163c53f (commit)
      from  d77c45675744895b01d905f7f27ae55e64264c26 (commit)

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


- Log -----------------------------------------------------------------
commit ed88ff18ddd4267eaecd11140ebcb5a59163c53f
Author: Volker Lendecke <v...@samba.org>
Date:   Wed May 6 12:00:49 2009 +0200

    Fix Coverity ID 897: REVERSE_INULL

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

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


Changeset truncated at 500 lines:

diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 7084122..dd735be 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -1397,11 +1397,11 @@ bool set_delete_on_close(files_struct *fsp, bool 
delete_on_close, const UNIX_USE
 
        if (fsp->conn->admin_user) {
                tok_copy = copy_unix_token(lck, tok);
-               tok_copy->uid = (uid_t)0;
                if (tok_copy == NULL) {
                        TALLOC_FREE(lck);
                        return false;
                }
+               tok_copy->uid = (uid_t)0;
                tok = tok_copy;
        }
 


-- 
Samba Shared Repository

Reply via email to