summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2017-08-21 09:40:44 +0300
committerEric Dong <eric.dong@intel.com>2017-08-28 10:13:48 +0300
commit48cfb7c0f4a8ed01ce4883029724d4eb2724b48a (patch)
tree067dc58fa231cf395085ebbdc955055a785f2792 /BaseTools/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py
parent714c2603018a99a514c42c2b511c821f30ba9cdf (diff)
downloadedk2-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