svn commit: samba r20982 - in branches/SAMBA_3_0/source/smbd: .
vlendec at samba.org
vlendec at samba.org
Tue Jan 23 20:38:15 GMT 2007
Author: vlendec
Date: 2007-01-23 20:38:14 +0000 (Tue, 23 Jan 2007)
New Revision: 20982
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20982
Log:
Fix a segfault -- I wonder why my make test did not show this earlier...
Modified:
branches/SAMBA_3_0/source/smbd/notify.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/notify.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/notify.c 2007-01-23 19:52:17 UTC (rev 20981)
+++ branches/SAMBA_3_0/source/smbd/notify.c 2007-01-23 20:38:14 UTC (rev 20982)
@@ -512,7 +512,8 @@
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);
}
More information about the samba-cvs
mailing list