mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user