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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Wed, 18 Apr 2007 11:57:05 EDT


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

Modified Files:
	afskfw.c 
Log Message:
DELTA windows-afskfw-bluescreen-20070418
AUTHOR jaltman@secure-endpoints.com

The afskfw library contains an unprotected call to krb5_free_context
which can result in krb5_free_context being called with a NULL pointer.
MIT's Kerberos libraries do not check that the pointer is non-NULL and
will attempt to use it as a valid pointer which will in turn result
in an invalid memory access error.

This library is used by afslogon.dll which is loaded by winlogon.exe.  

If the krb5 profile is invalid, the krb5_init_context call will fail
to allocate a krb5_context structure which can then result in 
krb5_free_context being called with a NULL pointer.  

An unhandled exception within winlogon.exe will cause a blue screen event 
on Windows 2000, XP and 2003.  


--- DELTA config follows ---
windows-afskfw-bluescreen-20070418 openafs/src/WINNT/afsd/afskfw.c 1.35 1.36