audk/IntelFrameworkModulePkg/Library/GenericBdsLib
Star Zeng 201d2d21bd IntelFrameworkModulePkg GenericBdsLib: 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 R18417 "MdeModulePkg: Fix a performance data buffer overrun issue".

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@18562 6f19259b-4bc3-4df7-8a09-765794883524
2015-09-30 04:30:34 +00:00
..
BdsBoot.c IntelFrameworkModulePkg: GenericBdsLib: set Status before use 2015-07-26 08:06:11 +00:00
BdsConnect.c Remove BdsLibConnectConsoleVariableWithoutDispatch() and enhance BdsLibConnectDevicePath() to only call gDS->Dispatch() when the current TPL is TPL_APPLICATION 2013-03-19 07:10:51 +00:00
BdsConsole.c IntelFrameworkModulePkg/SourceLevelDebugPkg: Fix the typo about word “hanlde” 2014-08-20 04:31:22 +00:00
BdsMisc.c IntelFrameworkModulePkg GenericBdsLib: Potential read over memory boudary 2015-07-13 01:22:21 +00:00
DevicePath.c Update all the code to consume the ConvertDevicePathToText, ConvertDevicePathNodeToText, ConvertTextToDevicePath and ConvertTextToDeviceNode APIs in DevicePathLib. 2013-07-26 03:14:08 +00:00
GenericBdsLib.inf IntelFrameworkModulePkg/GenericBdsLib: remove AcpiS3->S3Save() call 2015-07-26 08:02:19 +00:00
GenericBdsLib.uni IntelFrameworkModulePkg: Convert non DOS format files to DOS format 2014-09-03 08:45:37 +00:00
GenericBdsStrings.uni
InternalBdsLib.h IntelFrameworkModulePkg/GenericBdsLib: remove AcpiS3->S3Save() call 2015-07-26 08:02:19 +00:00
Performance.c IntelFrameworkModulePkg GenericBdsLib: Do not assume perf entry count has no change 2015-09-30 04:30:34 +00:00
String.c
String.h