ntdll: Ignore activation context entries that don't specify a path.
This commit is contained in:
parent
c10bdbefd6
commit
b76dc21b82
|
@ -1716,6 +1716,12 @@ static NTSTATUS find_actctx_dll( LPCWSTR libname, LPWSTR *fullname )
|
||||||
/* restart with larger buffer */
|
/* restart with larger buffer */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!info->lpAssemblyManifestPath || !info->lpAssemblyDirectoryName)
|
||||||
|
{
|
||||||
|
status = STATUS_SXS_KEY_NOT_FOUND;
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
|
|
||||||
if ((p = strrchrW( info->lpAssemblyManifestPath, '\\' )))
|
if ((p = strrchrW( info->lpAssemblyManifestPath, '\\' )))
|
||||||
{
|
{
|
||||||
DWORD dirlen = info->ulAssemblyDirectoryNameLength / sizeof(WCHAR);
|
DWORD dirlen = info->ulAssemblyDirectoryNameLength / sizeof(WCHAR);
|
||||||
|
|
Loading…
Reference in New Issue