mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
1e947f9bf5
commit
f9713abe95
|
@ -772,7 +772,7 @@ Tcg2GetEventLog (
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
Return if this is a Tcg800155PlatformIdEvent.
|
Return if this is a Tcg800155PlatformIdEvent.
|
||||||
|
|
||||||
@param[in] NewEventHdr Pointer to a TCG_PCR_EVENT_HDR/TCG_PCR_EVENT_EX data structure.
|
@param[in] NewEventHdr Pointer to a TCG_PCR_EVENT_HDR/TCG_PCR_EVENT_EX data structure.
|
||||||
|
@ -783,7 +783,7 @@ Tcg2GetEventLog (
|
||||||
@retval TRUE This is a Tcg800155PlatformIdEvent.
|
@retval TRUE This is a Tcg800155PlatformIdEvent.
|
||||||
@retval FALSE This is NOT a Tcg800155PlatformIdEvent.
|
@retval FALSE This is NOT a Tcg800155PlatformIdEvent.
|
||||||
|
|
||||||
*/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
Is800155Event (
|
Is800155Event (
|
||||||
IN VOID *NewEventHdr,
|
IN VOID *NewEventHdr,
|
||||||
|
|
|
@ -460,7 +460,7 @@ MeasureCRTMVersion (
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
Get the FvName from the FV header.
|
Get the FvName from the FV header.
|
||||||
|
|
||||||
Causion: The FV is untrusted input.
|
Causion: The FV is untrusted input.
|
||||||
|
@ -470,7 +470,7 @@ MeasureCRTMVersion (
|
||||||
|
|
||||||
@return FvName pointer
|
@return FvName pointer
|
||||||
@retval NULL FvName is NOT found
|
@retval NULL FvName is NOT found
|
||||||
*/
|
**/
|
||||||
VOID *
|
VOID *
|
||||||
GetFvName (
|
GetFvName (
|
||||||
IN EFI_PHYSICAL_ADDRESS FvBase,
|
IN EFI_PHYSICAL_ADDRESS FvBase,
|
||||||
|
|
Loading…
Reference in New Issue