Author: tkreuzer
Date: Fri May 10 17:49:48 2013
New Revision: 58984
URL: http://svn.reactos.org/svn/reactos?rev=58984&view=rev
Log:
[FREELDR]
Fix stack corruption.
Modified:
trunk/reactos/boot/freeldr/freeldr/arch/i386/hwapm.c
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hwapm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/i386/hwapm.c?rev=58984&r1=58983&r2=58984&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/arch/i386/hwapm.c [iso-8859-1]
(original)
+++ trunk/reactos/boot/freeldr/freeldr/arch/i386/hwapm.c [iso-8859-1]
Fri May 10 17:49:48 2013
@@ -69,7 +69,7 @@
{
/* Create 'Configuration Data' value */
PartialResourceList = MmHeapAlloc(Size);
- memset(&PartialResourceList, 0, Size);
+ memset(PartialResourceList, 0, Size);
PartialResourceList->Version = 0;
PartialResourceList->Revision = 0;
PartialResourceList->Count = 0;