audk/SecurityPkg/VariableAuthenticated/RuntimeDxe
oliviermartin 4d832aabbf SecurityPkg/VariableAuthenticated: 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: rsun3
Reviewed-by: niruiyu



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12845 6f19259b-4bc3-4df7-8a09-765794883524
2011-12-13 09:42:36 +00:00
..
AuthService.c Update SignatureSupport variable to reflect firmware capability. 2011-12-13 08:49:48 +00:00
AuthService.h Update SignatureSupport variable to reflect firmware capability. 2011-12-13 08:49:48 +00:00
Reclaim.c Add security package to repository. 2011-09-02 07:49:32 +00:00
Variable.c SecurityPkg/VariableAuthenticated: Check if there is a NV Variable Storage header prior to use its attributes 2011-12-13 09:42:36 +00:00
Variable.h SecurityPkg/VariableAuthenticated: Check if there is a NV Variable Storage header prior to use its attributes 2011-12-13 09:42:36 +00:00
VariableDxe.c SecurityPkg: Update VariableAuthenticated driver with following changes: 2011-10-28 09:55:09 +00:00
VariableRuntimeDxe.inf SecurityPkg/VariableAuthenticated: Check if there is a NV Variable Storage header prior to use its attributes 2011-12-13 09:42:36 +00:00
VariableSmm.c 1. Enhance AuthVar driver to avoid process corrupted certificate input. 2011-09-21 05:17:50 +00:00
VariableSmm.inf SecurityPkg/VariableAuthenticated: Check if there is a NV Variable Storage header prior to use its attributes 2011-12-13 09:42:36 +00:00
VariableSmmRuntimeDxe.c Add security package to repository. 2011-09-02 07:49:32 +00:00
VariableSmmRuntimeDxe.inf Add security package to repository. 2011-09-02 07:49:32 +00:00