mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 00:50:23 +00:00
- Fix a problem with loading dlls in Iron
See issue #4201 for more details. svn path=/trunk/; revision=40647
This commit is contained in:
parent
67f6e0572a
commit
cf37479786
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ GetDllLoadPath(LPCWSTR lpModule)
|
|||
UNICODE_STRING ModuleName;
|
||||
DWORD LastError = GetLastError(); /* GetEnvironmentVariable changes LastError */
|
||||
|
||||
if (lpModule != NULL)
|
||||
if ((lpModule != NULL) && (wcslen(lpModule) > 2) && (lpModule[1] == ':'))
|
||||
{
|
||||
lpModuleEnd = lpModule + wcslen(lpModule);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue