mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 11:48:04 +00:00
LdrpLoadModule called with LOAD_LIBRARY_AS_DATAFILE returns SUCCESS and a valid BaseAddress but no Module
svn path=/trunk/; revision=29543
This commit is contained in:
parent
6fda4d5f57
commit
ff76e56813
|
@ -753,6 +753,9 @@ LdrLoadDll (IN PWSTR SearchPath OPTIONAL,
|
|||
RtlLeaveCriticalSection(Peb->LoaderLock);
|
||||
}
|
||||
|
||||
if ((!Module) && (NT_SUCCESS(Status)))
|
||||
return Status;
|
||||
|
||||
*BaseAddress = NT_SUCCESS(Status) ? Module->DllBase : NULL;
|
||||
|
||||
return Status;
|
||||
|
|
Loading…
Reference in a new issue