mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:25:39 +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;
|
UNICODE_STRING ModuleName;
|
||||||
DWORD LastError = GetLastError(); /* GetEnvironmentVariable changes LastError */
|
DWORD LastError = GetLastError(); /* GetEnvironmentVariable changes LastError */
|
||||||
|
|
||||||
if (lpModule != NULL)
|
if ((lpModule != NULL) && (wcslen(lpModule) > 2) && (lpModule[1] == ':'))
|
||||||
{
|
{
|
||||||
lpModuleEnd = lpModule + wcslen(lpModule);
|
lpModuleEnd = lpModule + wcslen(lpModule);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue