Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: ccbbc2a5c84a0330b28b726ef0936fc16937005a https://github.com/tianocore/edk2/commit/ccbbc2a5c84a0330b28b726ef0936fc16937005a Author: Du Lin <du....@intel.com> 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 <ashraf.al...@intel.com> Cc: Chasel Chiu <chasel.c...@intel.com> Cc: Chen Gang C <gang.c.c...@intel.com> Cc: Duggapu Chinni B <chinni.b.dugg...@intel.com> Cc: Nate DeSimone <nathaniel.l.desim...@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Susovan Mohapatra <susovan.mohapa...@intel.com> Cc: Ted Kuo <ted....@intel.com> Signed-off-by: Du Lin <du....@intel.com> Reviewed-by: Ashraf Ali S <ashraf.al...@intel.com> Reviewed-by: Chen Gang C <gang.c.c...@intel.com> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits