audk/ArmPlatformPkg/ArmVExpressPkg
oliviermartin d65502601e MdeModulePkg/Variable: Check if there is a NV Variable Storage header prior to use its attributes
The Variable PEI and RuntimeDxe drivers were using the attribute 'HeaderLength' of
EFI_FIRMWARE_VOLUME_HEADER without checking if a Firmware Volume Header was existing at
the base address.
In case the Firmware Volume Header does not exist or is corrupted, the attribute 'HeaderLength'
is a non valid value that can lead to a non valid physical address when accessing produces an
access error.

Signed-off-by: oliviermartin
Reviewed-by: niruiyu



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12836 6f19259b-4bc3-4df7-8a09-765794883524
2011-12-12 19:00:59 +00:00
..
Include ArmPlatformPkg: Coding style changes (tab and line endings) - Minor changes 2011-12-07 17:16:03 +00:00
Library ArmPlaformPkg/ArmVExpressPkg: Move initialization of SP810 at the early stage of the platform initialization (SEC) 2011-11-01 23:44:51 +00:00
ArmVExpress-CTA9x4.dsc ArmPkg/ArmCpuLib: Fix GCC/XCode builds 2011-11-01 23:32:04 +00:00
ArmVExpress-CTA9x4.fdf ArmPlatformPkg: Fix PCD namespace for PCD that defines the the size of a Secure/Non Secure FD/FV files 2011-11-01 23:44:30 +00:00
ArmVExpress-RTSM-A9x4.dsc ArmPlatformPkg: Boot Linux from semihosting on RTSM by default (was NOR Flash) 2011-11-01 23:40:18 +00:00
ArmVExpress-RTSM-A9x4.fdf MdeModulePkg/Variable: Check if there is a NV Variable Storage header prior to use its attributes 2011-12-12 19:00:59 +00:00
ArmVExpress-RTSM-A15.dsc ArmPlatformPkg: Boot Linux from semihosting on RTSM by default (was NOR Flash) 2011-11-01 23:40:18 +00:00
ArmVExpress-RTSM-A15.fdf ArmPlatformPkg: Fix PCD namespace for PCD that defines the the size of a Secure/Non Secure FD/FV files 2011-11-01 23:44:30 +00:00
ArmVExpress-RTSM-A15_MPCore.dsc ArmPlatformPkg: Boot Linux from semihosting on RTSM by default (was NOR Flash) 2011-11-01 23:40:18 +00:00
ArmVExpress-RTSM-A15_MPCore.fdf ArmPlatformPkg: Fix PCD namespace for PCD that defines the the size of a Secure/Non Secure FD/FV files 2011-11-01 23:44:30 +00:00
ArmVExpress.dsc.inc ARM Packages: Fixed Build failings/warnings/EDK2 coding convention 2011-09-27 16:42:47 +00:00
ArmVExpressPkg.dec ArmPkg: Move ARM Platform drivers from ArmPkg/Drivers/ to ArmPlatformPkg/Drivers/ 2011-07-01 15:30:01 +00:00