[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha7-1426-g7070256
Volker Lendecke
vlendec at samba.org
Mon May 4 12:48:21 GMT 2009
The branch, master has been updated
via 7070256f5e292eb252e9ee3b5150190105dab276 (commit)
from 796764d92ba0afe2306f4955730e6afb80cb2eb7 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 7070256f5e292eb252e9ee3b5150190105dab276
Author: Volker Lendecke <vl at samba.org>
Date: Mon May 4 14:39:56 2009 +0200
Do not crash in ctdbd_traverse if ctdbd is not around
-----------------------------------------------------------------------
Summary of changes:
source3/lib/ctdbd_conn.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 88d82ca..dde3775 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -1101,6 +1101,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;
--
Samba Shared Repository
More information about the samba-cvs
mailing list