Author: cgutman
Date: Tue Sep 7 01:31:24 2010
New Revision: 48713
URL:
http://svn.reactos.org/svn/reactos?rev=48713&view=rev
Log:
[FREELOADER]
- Don't zero the target of an uninitialized pointer
- Thanks to arty for finding the issue
Modified:
trunk/reactos/boot/freeldr/freeldr/disk/scsiport.c
Modified: trunk/reactos/boot/freeldr/freeldr/disk/scsiport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/disk/…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/disk/scsiport.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/disk/scsiport.c [iso-8859-1] Tue Sep 7 01:31:24
2010
@@ -1636,7 +1636,6 @@
}
/* Add freeldr.sys to list of loaded executables */
- RtlZeroMemory(FreeldrDTE, sizeof(LDR_DATA_TABLE_ENTRY));
Status = WinLdrAllocateDataTableEntry(&LoaderBlock, "scsiport.sys",
"FREELDR.SYS", &ImageDosHeader, &FreeldrDTE);
if (!Status)