The Samba-Bugzilla – Attachment 4126 Details for
Bug 6332
Fix Coverity ID 897: REVERSE_INULL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 3.3
0001-Fix-Coverity-ID-897-REVERSE_INULL.patch (text/plain), 791 bytes, created by
Volker Lendecke
on 2009-05-06 05:04:36 UTC
(
hide
)
Description:
patch for 3.3
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2009-05-06 05:04:36 UTC
Size:
791 bytes
patch
obsolete
>From e5aa3cf0c184c7be2b8c9138269e3f097f02c323 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Wed, 6 May 2009 12:00:49 +0200 >Subject: [PATCH] Fix Coverity ID 897: REVERSE_INULL > >--- > source/locking/locking.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >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; > } > >-- >1.5.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6332
: 4126