summaryrefslogtreecommitdiff
path: root/SecurityPkg/Tcg/Tcg2Pei
diff options
context:
space:
mode:
authorGuoMinJ <newexplorerj@gmail.com>2020-02-13 16:33:48 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-14 07:27:28 +0000
commitf9713abe950b3d3e0e27bf87a03b5fa2bc69735f (patch)
tree68913aca3ead10ee3310e2081b27d7021edb44cf /SecurityPkg/Tcg/Tcg2Pei
parent1e947f9bf5932260a14b628614bf165916959f21 (diff)
downloadedk2-f9713abe950b3d3e0e27bf87a03b5fa2bc69735f.zip
edk2-f9713abe950b3d3e0e27bf87a03b5fa2bc69735f.tar.gz
edk2-f9713abe950b3d3e0e27bf87a03b5fa2bc69735f.tar.bz2
SecurityPkg: Issues reported by ECC in EDK2.
https://bugzilla.tianocore.org/show_bug.cgi?id=2515 Change the SecurityPkg to match the ECC check rule Signed-off-by: GuoMinJ <newexplorerj@gmail.com> Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Diffstat (limited to 'SecurityPkg/Tcg/Tcg2Pei')
-rw-r--r--SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
index 7e94a8e..4852d86 100644
--- a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
+++ b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
@@ -460,7 +460,7 @@ MeasureCRTMVersion (
);
}
-/*
+/**
Get the FvName from the FV header.
Causion: The FV is untrusted input.
@@ -470,7 +470,7 @@ MeasureCRTMVersion (
@return FvName pointer
@retval NULL FvName is NOT found
-*/
+**/
VOID *
GetFvName (
IN EFI_PHYSICAL_ADDRESS FvBase,