[SCM] Samba Shared Repository - branch master updated

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


The branch, master has been updated
       via  b6303f0... s3: Fix a crash in notify_remove_onelevel when "change notify = no"
      from  b5afbb6... s3: Fix the talloc hierarchy in notify_remove_onelevel

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit b6303f03721d0a86e2e379bdb2e436e328c8f5cb
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