The branch, master has been updated via 3b666bf0f9691e552999b655b2feca71048aa640 (commit) from d22965e2e596c8ad78f5330398d43d96bf564773 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 3b666bf0f9691e552999b655b2feca71048aa640 Author: Volker Lendecke <v...@samba.org> Date: Thu Apr 30 12:24:51 2009 +0200 Fix notify_onelevel: notify is not necessarily enabled Thanks to Günther Deschner! Volker ----------------------------------------------------------------------- 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 a42404d..973db7b 100644 --- a/source3/smbd/notify_internal.c +++ b/source3/smbd/notify_internal.c @@ -786,6 +786,10 @@ void notify_onelevel(struct notify_context *notify, uint32_t action, bool have_dead_entries = false; int i; + if (notify == NULL) { + return; + } + array = talloc_zero(talloc_tos(), struct notify_entry_array); if (array == NULL) { return; -- Samba Shared Repository