[SCM] SAMBA-CTDB repository - branch v3-2-ctdb updated - 3.2.11-ctdb-65-9-g51b977b

Michael Adam obnox at samba.org
Thu Nov 5 07:34:18 MST 2009


The branch, v3-2-ctdb has been updated
       via  51b977b018a0f1127d2393f05991b1ecfde1b31e (commit)
      from  dd98b54f5b7bb9ab178f7cdda7128ca512d90ed9 (commit)

http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-2-ctdb


- Log -----------------------------------------------------------------
commit 51b977b018a0f1127d2393f05991b1ecfde1b31e
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Nov 5 15:06:21 2009 +0100

    s3: Fix a crash in notify_remove_onelevel when "change notify = no"

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/notify_internal.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/notify_internal.c b/source/smbd/notify_internal.c
index 6bb9d63..069982a 100644
--- a/source/smbd/notify_internal.c
+++ b/source/smbd/notify_internal.c
@@ -545,6 +545,10 @@ NTSTATUS notify_remove_onelevel(struct notify_context *notify,
 	NTSTATUS status;
 	int i;
 
+	if (notify == NULL) {
+		return NT_STATUS_NOT_IMPLEMENTED;
+	}
+
 	array = talloc_zero(talloc_tos(), struct notify_entry_array);
 	if (array == NULL) {
 		return NT_STATUS_NO_MEMORY;


-- 
SAMBA-CTDB repository


More information about the samba-cvs mailing list