[SCM] Samba Shared Repository - branch master updated

Amitay Isaacs amitay at samba.org
Thu Jun 1 13:27:02 UTC 2017

The branch, master has been updated
       via  c47e6b1 ctdb-common: Fix crash in logging initialisation
      from  822f8cd mit_samba: Fix the MIT KDC build with the latest changes


- Log -----------------------------------------------------------------
commit c47e6b140d0c7cc15a93782957090625a832ba59
Author: Martin Schwenke <martin at meltin.net>
Date:   Thu Jun 1 14:37:40 2017 +1000

    ctdb-common: Fix crash in logging initialisation
    Setting CTDB_LOGGING to syslog:nonblocking or syslog:udp will cause
    ctdbd to crash at startup due to NULL pointer dereference.
    Refactoring in commit c9124a001f5abf7bb577a8f5341da4cc7411ed22
    introduced this regression.
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=12814
    Signed-off-by: Martin Schwenke <martin at meltin.net>
    Reviewed-by: Amitay Isaacs <amitay at gmail.com>
    Autobuild-User(master): Amitay Isaacs <amitay at samba.org>
    Autobuild-Date(master): Thu Jun  1 15:26:19 CEST 2017 on sn-devel-144


Summary of changes:
 ctdb/common/logging.c | 1 +
 1 file changed, 1 insertion(+)

Changeset truncated at 500 lines:

diff --git a/ctdb/common/logging.c b/ctdb/common/logging.c
index e1b8e7f..0e3efe0 100644
--- a/ctdb/common/logging.c
+++ b/ctdb/common/logging.c
@@ -354,6 +354,7 @@ static int syslog_log_setup_common(TALLOC_CTX *mem_ctx, const char *app_name,
 	state->app_name = app_name;
 	talloc_set_destructor(state, syslog_log_state_destructor);
+	*result = state;
 	return 0;

Samba Shared Repository

More information about the samba-cvs mailing list