Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: ccbbc2a5c84a0330b28b726ef0936fc16937005a
https://github.com/tianocore/edk2/commit/ccbbc2a5c84a0330b28b726ef0936fc16937005a
Author: Du Lin <[email protected]>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/FspMeasurementLib.c
Log Message:
-----------
IntelFsp2WrapperPkg: Error handling of TpmMeasureAndLogDataWithFlags()
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4700
TpmMeasureAndLogDataWithFlags() computes the measure the code and
log it into PCR 0. TpmMeasureAndLogData() computes the hash for the
configuration. The same "Status" variable is used to store the return
values for both of the functions. There is no error handling if
TpmMeasureAndLogDataWithFlags() returns an error Status.
Fix the issue by adding error handling for TpmMeasureAndLogDataWithFlags().
Cc: Ashraf Ali S <[email protected]>
Cc: Chasel Chiu <[email protected]>
Cc: Chen Gang C <[email protected]>
Cc: Duggapu Chinni B <[email protected]>
Cc: Nate DeSimone <[email protected]>
Cc: Star Zeng <[email protected]>
Cc: Susovan Mohapatra <[email protected]>
Cc: Ted Kuo <[email protected]>
Signed-off-by: Du Lin <[email protected]>
Reviewed-by: Ashraf Ali S <[email protected]>
Reviewed-by: Chen Gang C <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits