summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.c
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2015-07-13 01:23:14 +0000
committerhwu1225 <hwu1225@Edk2>2015-07-13 01:23:14 +0000
commita3c9617ea6a02c2ac747cf274fe9025f2d42c9bb (patch)
tree433e8189945827d08fc1f92390afc1df6fc50b2c /IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.c
parent83daa931dc58e708ac446271a2883d6b73bd77ae (diff)
downloadedk2-platforms-a3c9617ea6a02c2ac747cf274fe9025f2d42c9bb.tar.xz
IntelFrameworkModulePkg BootMaint: Fix potential read over memory boundary
This commit will resolve the issue brought by r17736. Str = AllocateCopyPool (MaxLen * sizeof (CHAR16), Str1); The above using of AllocateCopyPool() will read contents out of the scope of Str1. Potential risk for Str1 allocated at the boundary of memory region. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17931 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.c')
0 files changed, 0 insertions, 0 deletions