audk/IntelFrameworkModulePkg/Universal/BdsDxe
Hao Wu 2673ffb356 IntelFrameworkModulePkg DeviceMngr: Potential read over memory boundary
This commit will resolve the issue brought by r17738.

String = AllocateCopyPool (BufferLen, L"MAC:");

The above using of AllocateCopyPool() will read contents out of the scope
of the constant string. Potential risk for the constant string 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@17933 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-13 01:24:00 +00:00
..
BootMaint
BootMngr
DeviceMngr IntelFrameworkModulePkg DeviceMngr: Potential read over memory boundary 2015-07-13 01:24:00 +00:00
Bds.h
BdsDxe.inf
BdsDxe.uni
BdsDxeExtra.uni
BdsEntry.c
Capsules.c
FrontPage.c
FrontPage.h
FrontPageStrings.uni
FrontPageVfr.Vfr
Hotkey.c
Hotkey.h
HwErrRecSupport.c
HwErrRecSupport.h
Language.c
Language.h
MemoryTest.c
String.c
String.h
Strings.uni