]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-afskfw-bluescreen-20070418
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 18 Apr 2007 16:59:35 +0000 (16:59 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 18 Apr 2007 16:59:35 +0000 (16:59 +0000)
commit6ec1255b06a8ee1e87e016757e57f79ff349946d
treed85309b86e2229129721b9777027faf1a32c091d
parentee08ebed1ad9afdd3222ef7217b759d31a655c10
DEVEL15-windows-afskfw-bluescreen-20070418

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.

(cherry picked from commit 85a23a70c783364e039f2a1b402ba718c1fc34a5)
src/WINNT/afsd/afskfw.c