summaryrefslogtreecommitdiff
path: root/DuetPkg
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-08-17 02:30:43 +0000
committerlzeng14 <lzeng14@Edk2>2015-08-17 02:30:43 +0000
commit313491310c13f0be17ed937209ec31ab8bc7d818 (patch)
tree2b00a172cf40edd58796feda9856ce1862d1db75 /DuetPkg
parentc533ed3ebbe6e20fb1e27580d61e32e174643455 (diff)
downloadedk2-platforms-313491310c13f0be17ed937209ec31ab8bc7d818.tar.xz
MdeModulePkg Variable: Handle variable Attributes mismatch case
between variable HOB and NV storage. Variable HOB may be built by a system that supports and loads variable default, the variables in the HOB will be flush to NV storage after variable write search ready. After that, if the variable's Attributes is changed by someone and system reboots and tries to load default again, the variable Attributes mismatch case between variable HOB and NV storage will appear. Original code did not handle the case correctly, that may eventually cause NV storage contains two valid same variables that will lead to system hang if GetNextVariableName() called. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18225 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg')
0 files changed, 0 insertions, 0 deletions