Author: dgorbachev
Date: Sat Jun 16 01:46:42 2007
New Revision: 27196
URL:
http://svn.reactos.org/svn/reactos?rev=27196&view=rev
Log:
Fix bug #2151. Thanks to Alex Ionescu.
Modified:
trunk/reactos/ntoskrnl/mm/sysldr.c
Modified: trunk/reactos/ntoskrnl/mm/sysldr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/sysldr.c?rev=2…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/sysldr.c (original)
+++ trunk/reactos/ntoskrnl/mm/sysldr.c Sat Jun 16 01:46:42 2007
@@ -1767,7 +1767,7 @@
NtHeader->OptionalHeader.AddressOfEntryPoint);
LdrEntry->SizeOfImage = DriverSize;
LdrEntry->CheckSum = NtHeader->OptionalHeader.CheckSum;
- LdrEntry->SectionPointer = NULL; // FIXME: Bug 2151.
+ LdrEntry->SectionPointer = Section;
/* Now write the DLL name */
LdrEntry->BaseDllName.Buffer = (PVOID)(LdrEntry + 1);