The Samba-Bugzilla – Attachment 13004 Details for
Bug 12592
Fix several issues found by covscan
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Extra patch for v4-6
BZ12592-v4-6-extra.patch (text/plain), 999 bytes, created by
Amitay Isaacs
on 2017-03-03 01:25:37 UTC
(
hide
)
Description:
Extra patch for v4-6
Filename:
MIME Type:
Creator:
Amitay Isaacs
Created:
2017-03-03 01:25:37 UTC
Size:
999 bytes
patch
obsolete
>From e146a11456bc405ea4b71061b0640d9f9fe3ab9e Mon Sep 17 00:00:00 2001 >From: Martin Schwenke <martin@meltin.net> >Date: Thu, 23 Feb 2017 11:31:32 +1100 >Subject: [PATCH] ctdb-logging: CID 1396883 Dereference null return value > (NULL_RETURNS) > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12592 > >The fix in 08e03fa7f5fdc7f988fbbb26929e8c5727f36c2e is incomplete. > >Signed-off-by: Martin Schwenke <martin@meltin.net> >Reviewed-by: Jeremy Allison <jra@samba.org> >Reviewed-by: Amitay Isaacs <amitay@gmail.com> >(cherry picked from commit 55b75e4ecec17fdb741c12ad5a22846f77f71215) >--- > ctdb/common/logging.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/ctdb/common/logging.c b/ctdb/common/logging.c >index c8ccf26..8e547c9 100644 >--- a/ctdb/common/logging.c >+++ b/ctdb/common/logging.c >@@ -522,6 +522,7 @@ int logging_init(TALLOC_CTX *mem_ctx, const char *logging, > > name = strtok(str, ":"); > if (name == NULL) { >+ talloc_free(str); > return EINVAL; > } > option = strtok(NULL, ":"); >-- >2.9.3 >
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
Flags:
jra
:
review+
martins
:
review+
Actions:
View
Attachments on
bug 12592
:
12998
| 13004