git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4610465
)
r20982: Fix a segfault -- I wonder why my make test did not show this earlier...
author
Volker Lendecke
<vlendec@samba.org>
Tue, 23 Jan 2007 20:38:14 +0000
(20:38 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:17:22 +0000
(12:17 -0500)
source/smbd/notify.c
patch
|
blob
|
history
diff --git
a/source/smbd/notify.c
b/source/smbd/notify.c
index 2493dea9efba7f78ef17440a65904ff81fd7710b..c2f4572e7ecd85ddd38da68d81bb3f9dae77b3ee 100644
(file)
--- a/
source/smbd/notify.c
+++ b/
source/smbd/notify.c
@@
-512,7
+512,8
@@
static void notify_message_callback(int msgtype, struct process_id pid,
for(fsp = fsp_find_di_first(msg.dev, msg.inode); fsp;
fsp = fsp_find_di_next(fsp)) {
- if ((fsp->notify->requests != NULL)
+ if ((fsp->notify != NULL)
+ && (fsp->notify->requests != NULL)
&& (fsp->notify->requests->filter & msg.filter)) {
notify_fsp(fsp, msg.action, msg.name);
}