diff options
| author | Eric Dong <eric.dong@intel.com> | 2017-08-21 09:40:44 +0300 |
|---|---|---|
| committer | Eric Dong <eric.dong@intel.com> | 2017-08-28 10:13:48 +0300 |
| commit | 48cfb7c0f4a8ed01ce4883029724d4eb2724b48a (patch) | |
| tree | 067dc58fa231cf395085ebbdc955055a785f2792 /BaseTools/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py | |
| parent | 714c2603018a99a514c42c2b511c821f30ba9cdf (diff) | |
| download | edk2-48cfb7c0f4a8ed01ce4883029724d4eb2724b48a.tar.xz | |
UefiCpuPkg/MpLib: fix potential overflow issue.
Current calculate timeout logic may have overflow if the input
timeout value too large. This patch fix this potential overflow
issue.
V2: Use local variable instead of call GetPerformanceCounterProperties
twice. Also correct some comments.
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py')
0 files changed, 0 insertions, 0 deletions
