audk/MdeModulePkg/Library/UefiBootManagerLib
Star Zeng 2f931dda52 MdeModulePkg UefiBootManagerLib: Do not assume perf entry count has no change
Current implementation assumes the performance entry count has no change from
multiple GetPerformanceMeasurement() while loops, it may cause the allocated buffer
for PerfEntriesAsDxeHandle at the first loop to be overflowed if the following loop has
the count changed.

This patch is also to sync the change at
commit R17851 "IntelFrameworkModulePkg GenericBdsLib: Resolve array size mismatch".

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18561 6f19259b-4bc3-4df7-8a09-765794883524
2015-09-30 04:29:50 +00:00
..
BmBoot.c MdeModulePkg: Remove unused variables from both UefiBootManagerLib and BdsDxe to fix GCC build. 2015-08-28 05:41:06 +00:00
BmConnect.c MdeModulePkg: Fix EOL to be DOS format. 2015-05-13 02:23:44 +00:00
BmConsole.c MdeModulePkg: Fix EOL to be DOS format. 2015-05-13 02:23:44 +00:00
BmDriverHealth.c MdeModulePkg: Remove unused variables from both UefiBootManagerLib and BdsDxe to fix GCC build. 2015-08-28 05:41:06 +00:00
BmHotkey.c MdeModulePkg: Fix EOL to be DOS format. 2015-05-13 02:23:44 +00:00
BmLoadOption.c MdeModulePkg: Add assertion to make code easier for read. 2015-05-20 07:41:01 +00:00
BmMisc.c MdeModulePkg: Fix EOL to be DOS format. 2015-05-13 02:23:44 +00:00
BmPerformance.c MdeModulePkg UefiBootManagerLib: Do not assume perf entry count has no change 2015-09-30 04:29:50 +00:00
InternalBm.h MdeModulePkg: Update UefiBootManagerLib to support HTTP boot option creation 2015-07-07 05:43:00 +00:00
UefiBootManagerLib.inf MdeModulePkg: Fix UefiBootManagerLib.inf license header. 2015-08-25 06:27:01 +00:00
UefiBootManagerLib.uni MdeModulePkg: Add UNI file for UefiBootManagerLib library. 2015-05-15 08:47:31 +00:00