]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Library/VarCheckLib/VarCheckLib.c
MdeModulePkg VarCheckLib: R18611 was thoughtless for property set
authorStar Zeng <star.zeng@intel.com>
Mon, 19 Oct 2015 06:41:28 +0000 (06:41 +0000)
committerlzeng14 <lzeng14@Edk2>
Mon, 19 Oct 2015 06:41:28 +0000 (06:41 +0000)
commitd2dbe5b70bfbd93211d2ad9503a934d64102410b
tree0c390f588bc6dc4e012b56329ad5164caa28a933
parent3a2e6a740dff2dd2978264af17cc26f5b56e6623
MdeModulePkg VarCheckLib: R18611 was thoughtless for property set

R18611 only updated the logic to return correct property
when no property set to variable with wildcard name.
But VariablePropertySet needs the pointer of property data for set.
So roll back the change in VariablePropertyGetWithWildcardName at R18611,
and check the property revision first in VariablePropertyGet and
SetVariableCheck before using the property data.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18626 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Library/VarCheckLib/VarCheckLib.c