OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sun, 04 Nov 2007 19:23:57 EST


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd

Modified Files:
	afsd_service.c cm_btree.c cm_buf.c cm_callback.c cm_conn.c 
	cm_daemon.c cm_dcache.c cm_freelance.c cm_ioctl.c cm_scache.c 
	cm_server.c cm_user.c cm_vnodeops.c cm_volume.c smb.c smb3.c 
	smb_ioctl.c 
Log Message:
DELTA windows-afsd-notification-20071104
AUTHOR jaltman@secure-endpoints.com

the difference between osi_assert() and osi_assertx() is whether or not
a description is specified as part of the call.  When no message is 
specified afsd_notifier() is called with a NULL msgp parameter.  This
results in a null pointer dereference during the EventLog() call.

As a result, none of the information describing the assertion is written
to the log file.  

This commit sets a default message for use when no other message is 
provided and it replaces all calls to osi_assert with osi_assertx and
adds descriptions.



--- DELTA config follows ---
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/afsd_service.c 1.69 1.70
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_btree.c 1.9 1.10
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_buf.c 1.53 1.54
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_callback.c 1.62 1.63
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_conn.c 1.73 1.74
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_daemon.c 1.33 1.34
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_dcache.c 1.50 1.51
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_freelance.c 1.37 1.38
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_ioctl.c 1.100 1.101
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_scache.c 1.81 1.82
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_server.c 1.39 1.40
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_user.c 1.11 1.12
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_vnodeops.c 1.114 1.115
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_volume.c 1.32 1.33
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/smb.c 1.165 1.166
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/smb3.c 1.143 1.144
windows-afsd-notification-20071104 openafs/src/WINNT/afsd/smb_ioctl.c 1.31 1.32