[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-5257-ga0e9521
Karolin Seeger
kseeger at samba.org
Tue May 12 13:45:36 GMT 2009
The branch, v3-3-test has been updated
via a0e9521b306a7e83d09de4616a66b49d259f0bbc (commit)
from 09b76c57098ed4d11855000ae31cd346cb9a765d (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit a0e9521b306a7e83d09de4616a66b49d259f0bbc
Author: Volker Lendecke <vl at samba.org>
Date: Wed May 6 12:00:49 2009 +0200
Fix Coverity ID 897: REVERSE_INULL
-----------------------------------------------------------------------
Summary of changes:
source/locking/locking.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/locking/locking.c b/source/locking/locking.c
index 41fe1c9..7f2494a 100644
--- a/source/locking/locking.c
+++ b/source/locking/locking.c
@@ -1364,11 +1364,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
More information about the samba-cvs
mailing list