[SCM] Samba Shared Repository - branch v3-4-test updated -
release-4-0-0alpha7-882-gc4a15b7
Volker Lendecke
vlendec at samba.org
Wed May 6 10:01:25 GMT 2009
The branch, v3-4-test has been updated
via c4a15b70b894e413ac76f4c8d7c04d8eedeba723 (commit)
from e4628c6fc7348f56666adc69722809ea539c4fe7 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test
- Log -----------------------------------------------------------------
commit c4a15b70b894e413ac76f4c8d7c04d8eedeba723
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:
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
More information about the samba-cvs
mailing list