audk/MdeModulePkg/Library/UefiBootManagerLib
Ruiyu Ni 88cbb6be4e MdeModulePkg: Fix a performance data buffer overrun issue
The mBmPerfHeader.Count isn't reset to 0 in BmWriteBootToOsPerformanceData()
so when the actual performance data entry count exceeds the LimitCount,
the performance data collection breaks on condition
if (mBmPerfHeader.Count == LimitCount), but 2nd time calling this function
will not break on condition if (mBmPerfHeader.Count == LimitCount) because
the mBmPerfHeader.Count always bigger than LimitCount, which results buffer
overrun.

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

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18417 6f19259b-4bc3-4df7-8a09-765794883524
2015-09-09 05:43:44 +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: Fix a performance data buffer overrun issue 2015-09-09 05:43:44 +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