audk/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint
Hao Wu a3c9617ea6 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
2015-07-13 01:23:14 +00:00
..
BBSsupport.c IntelFrameworkModulePkg: Fix a memory leak bug in BdsDxe driver. 2015-07-10 02:16:00 +00:00
BBSsupport.h Refine BdsDxe driver and GenericBdsLib library so that the GenericBdsLib doesn't depend on the BdsDxe implementation. 2012-06-01 03:39:39 +00:00
Bm.vfr Remove Framework HII "class\subclass" in all VFR 2015-05-21 07:58:12 +00:00
BmLib.c Support RouteConfig function for BdsDxe driver. 2014-06-18 02:19:50 +00:00
Bmstring.uni Fix CRLF format 2014-01-22 08:38:20 +00:00
BootMaint.c Remove invalid value sync action when changing value. Else later save change action will fail. 2015-02-12 08:40:16 +00:00
BootMaint.h Refine code to follow good coding style. 2014-07-07 06:30:33 +00:00
BootOption.c IntelFrameworkModulePkg BootMaint: Fix potential read over memory boundary 2015-07-13 01:23:14 +00:00
ConsoleOption.c Support RouteConfig function for BdsDxe driver. 2014-06-18 02:19:50 +00:00
Data.c Enhance BMM to support changing FlowControl setting in Front Page. 2011-02-16 05:31:39 +00:00
FE.vfr Remove Framework HII "class\subclass" in all VFR 2015-05-21 07:58:12 +00:00
FileExplorer.c Refine the save action for the BdsDxe. 2014-07-04 01:58:48 +00:00
FormGuid.h IntelFrameworkModulePkg BootMaint: Use safe string functions 2015-06-30 06:27:18 +00:00
UpdatePage.c IntelFrameworkModulePkg BootMaint: Use safe string functions 2015-06-30 06:27:18 +00:00
Variable.c IntelFrameworkModulePkg BootMaint: Use safe string functions 2015-06-30 06:27:18 +00:00