summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Library
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-09-30 04:29:50 +0000
committerlzeng14 <lzeng14@Edk2>2015-09-30 04:29:50 +0000
commit2f931dda52dc6e20643c0842acf18c9f0b5a0097 (patch)
tree976690e58376d7a26d4d25ebf7588effc4e86fd1 /IntelFrameworkModulePkg/Library
parent9feefde0cb4fb4edb8b3e5a0168e756d81f46e79 (diff)
downloadedk2-platforms-2f931dda52dc6e20643c0842acf18c9f0b5a0097.tar.xz
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
Diffstat (limited to 'IntelFrameworkModulePkg/Library')
0 files changed, 0 insertions, 0 deletions