mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r20982: Fix a segfault -- I wonder why my make test did not show this earlier...
This commit is contained in:
parent
4610465d7f
commit
4984b0627c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user