Author: tfaber
Date: Wed Apr 6 12:30:06 2016
New Revision: 71106
URL:
http://svn.reactos.org/svn/reactos?rev=71106&view=rev
Log:
[BOOTLIB]
- Fix uninitialized variable in MmFwGetMemoryMap. Patch by Víctor Martínez Calvo. CID
1341421
CORE-11026 #resolve
Modified:
trunk/reactos/boot/environ/lib/firmware/efi/firmware.c
Modified: trunk/reactos/boot/environ/lib/firmware/efi/firmware.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/firmware/…
==============================================================================
--- trunk/reactos/boot/environ/lib/firmware/efi/firmware.c [iso-8859-1] (original)
+++ trunk/reactos/boot/environ/lib/firmware/efi/firmware.c [iso-8859-1] Wed Apr 6
12:30:06 2016
@@ -1365,7 +1365,7 @@
NTSTATUS Status;
ULONGLONG Pages, StartPage, EndPage;
UINTN EfiMemoryMapSize, MapKey, DescriptorSize, DescriptorVersion;
- EFI_PHYSICAL_ADDRESS EfiBuffer;
+ EFI_PHYSICAL_ADDRESS EfiBuffer = 0;
EFI_MEMORY_DESCRIPTOR* EfiMemoryMap;
EFI_STATUS EfiStatus;
BL_ARCH_MODE OldMode;