Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 832fbc6e32012fe29f1a6c67ddc90facb43ebeee
      
https://github.com/tianocore/edk2/commit/832fbc6e32012fe29f1a6c67ddc90facb43ebeee
  Author: Gerd Hoffmann <kra...@redhat.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c

  Log Message:
  -----------
  SecurityPkg: add TIS sanity check (tpm2)

The code blindly assumes a TIS interface is present in case both CRB and
FIFO checks fail.  Check the InterfaceType for TIS instead and only
return Tpm2PtpInterfaceTis in case it matches, Tpm2PtpInterfaceMax
otherwise.

Signed-off-by: Gerd Hoffmann <kra...@redhat.com>
Reviewed-by: Jiewen Yao <jiewen....@intel.com>


  Commit: d6b42ed7ed1b0c4584097f0d76798cff74c96379
      
https://github.com/tianocore/edk2/commit/d6b42ed7ed1b0c4584097f0d76798cff74c96379
  Author: Gerd Hoffmann <kra...@redhat.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c

  Log Message:
  -----------
  SecurityPkg: add TIS sanity check (tpm12)

The code blindly assumes a TIS interface is present in case both CRB and
FIFO checks fail.  Check the InterfaceType for TIS instead and only
return PtpInterfaceTis in case it matches, PtpInterfaceMax otherwise.

Signed-off-by: Gerd Hoffmann <kra...@redhat.com>
Reviewed-by: Jiewen Yao <jiewen....@intel.com>


Compare: https://github.com/tianocore/edk2/compare/23c71536efbe...d6b42ed7ed1b


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to