audk/MdeModulePkg/Library
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
..
AuthVariableLibNull MdeModulePkg: Add AuthVariableLib LibraryClass 2015-07-01 03:04:18 +00:00
BasePlatformHookLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
BaseResetSystemLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
BaseSerialPortLib16550 MdePkg/BaseSerialPortLib16550: Support UARTs with a register stride greater than 1 byte. 2015-04-27 19:44:40 +00:00
BaseSortLib MdeModulePkg: Add the missing module UNI files. 2015-08-28 02:46:46 +00:00
CpuExceptionHandlerLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
CustomizedDisplayLib Refine code to keep code alignment 2015-06-09 08:13:23 +00:00
DebugAgentLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeCapsuleLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeCoreMemoryAllocationLib MdeModulePkg: Fix typo. 2015-03-13 08:13:16 +00:00
DxeCorePerformanceLib MdeModulePkg: Use StrnCpyS instead of StrCpyS to indicate the copy length from the source. 2015-07-07 03:01:07 +00:00
DxeCrc32GuidedSectionExtractLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeDebugPrintErrorLevelLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeDpcLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeHttpLib MdeModulePkg: Convert the UNIX to DOS end of line format 2015-08-27 01:04:59 +00:00
DxeIpIoLib MdeModulePkg: Source fixes and cleanup for ARMGCC compiles 2014-12-04 00:32:24 +00:00
DxeNetLib MdeModulePkg: Use monotonic count to initialize the NetLib random seed. 2015-08-07 03:22:10 +00:00
DxePerformanceLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxePrintLibPrint2Protocol MdeModulePkg/DxePrintLibPrint2Protocol: make mStatusString array CONST 2015-07-16 06:50:45 +00:00
DxeReportStatusCodeLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeSecurityManagementLib MdeModulePkg: SecurityManagementLib to handle LoadFile DevicePath 2015-07-02 04:27:32 +00:00
DxeSmmPerformanceLib MdeModulePkg DxeSmmPerformanceLib: Cover no SMM performance data case. 2015-06-04 13:16:18 +00:00
DxeTcpIoLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeUdpIoLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
LockBoxNullLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
LzmaCustomDecompressLib MdeModulePkg: Add two library instances 2015-04-03 02:50:57 +00:00
OemHookStatusCodeLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PeiCrc32GuidedSectionExtractLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PeiDebugPrintHobLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PeiDxeDebugLibReportStatusCode MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode: Use safe string functions to refine code. 2015-07-01 08:14:36 +00:00
PeiPerformanceLib MdeModulePkg: Refine code to use Strn**S safe functions instead of Str**S ones in some cases. 2015-07-08 01:08:09 +00:00
PeiRecoveryLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PeiReportStatusCodeLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PeiS3LibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
PiDxeS3BootScriptLib MdeModulePkg PiDxeS3BootScriptLib: Initialize the EFI_BOOT_SCRIPT_TABLE_HEADER.Version. 2015-04-13 01:56:57 +00:00
PiSmmCoreMemoryAllocationLib MdeModulePkg PiSmmCore: Remove a hidden assumption of SMRAM reservation 2015-07-26 07:38:12 +00:00
PiSmmCoreSmmServicesTableLib MdeModulePkg: Add InSmm() API in PiSmmCoreSmmServicesTableLib instance 2014-11-05 12:09:22 +00:00
PlatformBootManagerLibNull MdeModulePkg: Fix INF to point to correct UNI file. 2015-05-21 06:50:07 +00:00
PlatformHookLibSerialPortPpi MdeModulePkg: Update library class name of PlatformHookLibSerialPortPpi.inf 2015-02-10 07:33:19 +00:00
PlatformVarCleanupLib MdeModulePkg: Add PlatformVarCleanupLib library 2015-08-25 03:11:06 +00:00
RuntimeDxeReportStatusCodeLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
SmmCorePerformanceLib MdeModulePkg: Fix potential integer overflow issue 2015-07-10 02:16:42 +00:00
SmmCorePlatformHookLibNull MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
SmmLockBoxLib MdeModulePkg: Fix potential integer overflow issue 2015-07-10 02:16:42 +00:00
SmmPerformanceLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
SmmReportStatusCodeLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
TpmMeasurementLibNull MdeModulePkg: Move TpmMeasurementLib LibraryClass from SecurityPkg 2015-07-01 03:01:34 +00:00
UefiBootManagerLib MdeModulePkg: Fix a performance data buffer overrun issue 2015-09-09 05:43:44 +00:00
UefiHiiLib Support get string from configuration string packages. 2015-07-27 07:40:18 +00:00
UefiHiiServicesLib MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
UefiSortLib MdeModulePkg: Add the missing module UNI files. 2015-08-28 02:46:46 +00:00
VarCheckHiiLib MdeModulePkg: Add VarCheckHiiLib NULL class library 2015-08-25 03:10:04 +00:00
VarCheckLib MdeModulePkg: Add VarCheckLib library 2015-08-25 02:58:09 +00:00
VarCheckPcdLib MdeModulePkg: Add VarCheckPcdLib NULL class library 2015-08-25 03:10:32 +00:00
VarCheckUefiLib MdeModulePkg: Add VarCheckUefiLib NULL class library 2015-08-25 02:58:36 +00:00