Re: [edk2] [Patch] MdeModulePkg: Fix a performance data buffer overrun issue

2015-09-08 Thread Zeng, Star
On 2015/9/9 13:36, Ruiyu Ni wrote: 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

[edk2] [Patch] MdeModulePkg: Fix a performance data buffer overrun issue

2015-09-08 Thread Ruiyu Ni
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