From 70e3baab3e85b1291d45567541e4a27d2ae8996d Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 7 Sep 2010 01:31:24 +0000 Subject: [PATCH] [FREELOADER] - Don't zero the target of an uninitialized pointer - Thanks to arty for finding the issue svn path=/trunk/; revision=48713 --- reactos/boot/freeldr/freeldr/disk/scsiport.c | 1 - 1 file changed, 1 deletion(-) diff --git a/reactos/boot/freeldr/freeldr/disk/scsiport.c b/reactos/boot/freeldr/freeldr/disk/scsiport.c index 81ba4a4efa2..ce306a39c3f 100644 --- a/reactos/boot/freeldr/freeldr/disk/scsiport.c +++ b/reactos/boot/freeldr/freeldr/disk/scsiport.c @@ -1636,7 +1636,6 @@ LoadBootDeviceDriver(VOID) } /* 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)