mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:43:04 +00:00
Fix bug #2151. Thanks to Alex Ionescu.
svn path=/trunk/; revision=27196
This commit is contained in:
parent
7bba5bf9ba
commit
a3897f253f
1 changed files with 1 additions and 1 deletions
|
@ -1767,7 +1767,7 @@ LoaderScan:
|
||||||
NtHeader->OptionalHeader.AddressOfEntryPoint);
|
NtHeader->OptionalHeader.AddressOfEntryPoint);
|
||||||
LdrEntry->SizeOfImage = DriverSize;
|
LdrEntry->SizeOfImage = DriverSize;
|
||||||
LdrEntry->CheckSum = NtHeader->OptionalHeader.CheckSum;
|
LdrEntry->CheckSum = NtHeader->OptionalHeader.CheckSum;
|
||||||
LdrEntry->SectionPointer = NULL; // FIXME: Bug 2151.
|
LdrEntry->SectionPointer = Section;
|
||||||
|
|
||||||
/* Now write the DLL name */
|
/* Now write the DLL name */
|
||||||
LdrEntry->BaseDllName.Buffer = (PVOID)(LdrEntry + 1);
|
LdrEntry->BaseDllName.Buffer = (PVOID)(LdrEntry + 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue