DEVEL15-windows-afslogon-null-ptr-20060803
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 3 Aug 2006 22:55:06 +0000 (22:55 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 3 Aug 2006 22:55:06 +0000 (22:55 +0000)
FIXES 33962

do not dereference a null pointer effDomain

(cherry picked from commit 3002d38bcd30a1ac20c77a2c30a6858435f6d604)

src/WINNT/afsd/afslogon.c

index a390b6a..3767bc1 100644 (file)
@@ -398,7 +398,7 @@ GetDomainLogonOptions( PLUID lpLogonId, char * username, char * domain, LogonOpt
             hkDoms = NULL;
         }
     } else
-        DebugEvent("Not opening domain key for [%s]", effDomain);
+        DebugEvent("Not opening domain key");
 
     /* Each individual can either be specified on the domain key, the domains key or in the
        net provider key.  They fail over in that order.  If none is found, we just use the