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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sun, 04 Nov 2007 19:24:47 EST


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

Modified Files:
      Tag: openafs-devel-1_5_x
	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 DEVEL15-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 for openafs-devel-1_5_x follows ---
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/afsd_service.c 1.52.4.17 1.52.4.18
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_btree.c 1.1.2.10 1.1.2.11
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_buf.c 1.31.2.21 1.31.2.22
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_callback.c 1.41.4.20 1.41.4.21
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_conn.c 1.49.2.23 1.49.2.24
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_daemon.c 1.16.4.16 1.16.4.17
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_dcache.c 1.30.2.19 1.30.2.20
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_freelance.c 1.33.2.3 1.33.2.4
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_ioctl.c 1.73.2.26 1.73.2.27
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_scache.c 1.35.2.45 1.35.2.46
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_server.c 1.25.2.13 1.25.2.14
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_user.c 1.8.4.2 1.8.4.3
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_vnodeops.c 1.69.2.44 1.69.2.45
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/cm_volume.c 1.14.4.17 1.14.4.18
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/smb.c 1.118.2.45 1.118.2.46
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/smb3.c 1.95.2.47 1.95.2.48
DEVEL15-windows-afsd-notification-20071104 openafs/src/WINNT/afsd/smb_ioctl.c 1.25.2.5 1.25.2.6