summaryrefslogtreecommitdiff
path: root/SecurityPkg/Tcg/Tcg2Smm
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-12-07 10:39:03 +0800
committerHao Wu <hao.a.wu@intel.com>2016-12-22 16:17:11 +0800
commit753a18f965cb9cd9e48d376a6c71823548eeb3a0 (patch)
treec9e73799be9b0082b97af860e10b425952a3363d /SecurityPkg/Tcg/Tcg2Smm
parentc07c517cc51a4f947022aa5eebe2aace326137e5 (diff)
downloadedk2-platforms-753a18f965cb9cd9e48d376a6c71823548eeb3a0.tar.xz
MdePkg/BaseLib: Add an additional check within (Ascii)StrnCmp
This commit adds an addtional check in AsciiStrnCmp and StrnCmp. It explicitly checks the end of the sting pointed by 'SecondString' to make the code logic easier for reading and to prevent possible mis-reports by static code checkers. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'SecurityPkg/Tcg/Tcg2Smm')
0 files changed, 0 insertions, 0 deletions