]> git.proxmox.com Git - mirror_edk2.git/commit
Fix a potential SMM memory dump issue. If pass communication buffer with DataBuffer...
authorczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 19 Apr 2013 01:35:02 +0000 (01:35 +0000)
committerczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 19 Apr 2013 01:35:02 +0000 (01:35 +0000)
commitd17c4eac5625e40fa3715aee14286f45797b3999
treee3d63989c9de98b36143d61c529d107f51a47963
parent0290177adf73b36bc76f888e861da5c15e21d5d4
Fix a potential SMM memory dump issue. If pass communication buffer with DataBuffer to SMM SetVariable which is big enough to cover SMM range. Then GetVariable can dump SMM memory contents. Add more range check for SetVariable

Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by  : Dong Guo   <guo.dong@intel.com>
Reviewed-by  : Jiewen Yao <jiewen.yao@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14292 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c
SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.c