[SCM] Samba Shared Repository - branch v3-5-test updated

Volker Lendecke vlendec at samba.org
Thu Nov 5 07:07:56 MST 2009


The branch, v3-5-test has been updated
       via  bcdd645... s3: Fix a crash in notify_remove_onelevel when "change notify = no"
      from  cb5145e... s3: Fix the talloc hierarchy in notify_remove_onelevel

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -----------------------------------------------------------------
commit bcdd64523497a251b51a1a6023c41cc29cc86567
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:
 source3/smbd/notify_internal.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c
index 3f61de5..1850e2b 100644
--- a/source3/smbd/notify_internal.c
+++ b/source3/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 Shared Repository


More information about the samba-cvs mailing list