windows-afsd-notification-20071104
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 5 Nov 2007 00:23:54 +0000 (00:23 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 5 Nov 2007 00:23:54 +0000 (00:23 +0000)
commit89ac3ec2f68db045cf719d619eea1fb97a6364a3
tree03ef358dae2825dfef76dcda86fb3d3312c9cec2
parentbc7a0be8eb24f5347b8a5b51067b15270aa84691
windows-afsd-notification-20071104

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.
17 files changed:
src/WINNT/afsd/afsd_service.c
src/WINNT/afsd/cm_btree.c
src/WINNT/afsd/cm_buf.c
src/WINNT/afsd/cm_callback.c
src/WINNT/afsd/cm_conn.c
src/WINNT/afsd/cm_daemon.c
src/WINNT/afsd/cm_dcache.c
src/WINNT/afsd/cm_freelance.c
src/WINNT/afsd/cm_ioctl.c
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_server.c
src/WINNT/afsd/cm_user.c
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/cm_volume.c
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb3.c
src/WINNT/afsd/smb_ioctl.c