secur32: Fix ntlm_GetCachedCredential to not call strlenW on a NULL pointer.
authorRob Shearman <rob@codeweavers.com>
Mon, 10 Mar 2008 16:41:55 +0000 (16:41 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 10 Mar 2008 18:12:54 +0000 (19:12 +0100)
commit088ae3b81c7387f98c217260484207cbf175e2d6
treec3de9f27a416d5d73e8e46afcecc06aa55d52500
parent0be05ab6aac571865358eea6e1256ff3f19b274c
secur32: Fix ntlm_GetCachedCredential to not call strlenW on a NULL pointer.

pszHost should just be set to pszTargetName if pszTargetName doesn't
contain any other information.
dlls/secur32/ntlm.c