Skip to content

Commit

Permalink
SecurityPkg: Issues reported by ECC in EDK2.
Browse files Browse the repository at this point in the history
https://bugzilla.tianocore.org/show_bug.cgi?id=2515

Change the SecurityPkg to match the ECC check rule

Signed-off-by: GuoMinJ <[email protected]>
Reviewed-by: Jiewen Yao <[email protected]>
  • Loading branch information
GuoMinJ authored and mergify[bot] committed Feb 14, 2020
1 parent 1e947f9 commit f9713ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ Tcg2GetEventLog (
return EFI_SUCCESS;
}

/*
/**
Return if this is a Tcg800155PlatformIdEvent.
@param[in] NewEventHdr Pointer to a TCG_PCR_EVENT_HDR/TCG_PCR_EVENT_EX data structure.
Expand All @@ -783,7 +783,7 @@ Tcg2GetEventLog (
@retval TRUE This is a Tcg800155PlatformIdEvent.
@retval FALSE This is NOT a Tcg800155PlatformIdEvent.
*/
**/
BOOLEAN
Is800155Event (
IN VOID *NewEventHdr,
Expand Down
4 changes: 2 additions & 2 deletions SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ MeasureCRTMVersion (
);
}

/*
/**
Get the FvName from the FV header.
Causion: The FV is untrusted input.
Expand All @@ -470,7 +470,7 @@ MeasureCRTMVersion (
@return FvName pointer
@retval NULL FvName is NOT found
*/
**/
VOID *
GetFvName (
IN EFI_PHYSICAL_ADDRESS FvBase,
Expand Down

0 comments on commit f9713ab

Please sign in to comment.