summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-09-30 04:30:34 +0000
committerlzeng14 <lzeng14@Edk2>2015-09-30 04:30:34 +0000
commit201d2d21bdc88f85d85f30cd92d6d00b7e25301c (patch)
tree324e7bb45f36cee8bcdc0f3f8b685e4d3cfae7a4 /IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
parent2f931dda52dc6e20643c0842acf18c9f0b5a0097 (diff)
downloadedk2-platforms-201d2d21bdc88f85d85f30cd92d6d00b7e25301c.tar.xz
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
Diffstat (limited to 'IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h')
0 files changed, 0 insertions, 0 deletions