The Samba-Bugzilla – Attachment 4110 Details for
Bug 6321
Fix a possible crash in ctdbd_traverse
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-Do-not-crash-in-ctdbd_traverse-if-ctdbd-is-not-aroun.patch (text/plain), 808 bytes, created by
Volker Lendecke
on 2009-05-04 08:40:24 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2009-05-04 08:40:24 UTC
Size:
808 bytes
patch
obsolete
>From d44e347f800cca77a3df108a4ff5cfe5d8406764 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Mon, 4 May 2009 14:39:56 +0200 >Subject: [PATCH] Do not crash in ctdbd_traverse if ctdbd is not around > >--- > source/lib/ctdbd_conn.c | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > >diff --git a/source/lib/ctdbd_conn.c b/source/lib/ctdbd_conn.c >index 7c32d57..465c09a 100644 >--- a/source/lib/ctdbd_conn.c >+++ b/source/lib/ctdbd_conn.c >@@ -1094,6 +1094,11 @@ NTSTATUS ctdbd_traverse(uint32 db_id, > struct ctdbd_traverse_state state; > > status = ctdbd_init_connection(NULL, &conn); >+ if (!NT_STATUS_IS_OK(status)) { >+ DEBUG(0, ("ctdbd_init_connection failed: %s\n", >+ nt_errstr(status))); >+ return status; >+ } > > t.db_id = db_id; > t.srvid = conn->rand_srvid; >-- >1.6.2.1 >
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 6321
: 4110