[SLOF] [PATCH v2 0/2] tcgbios: Fix 2 issues related to handling of GPT table

Stefan Berger stefanb at linux.ibm.com
Sat Apr 5 13:15:05 AEDT 2025


This series fixes the following 2 issues related to the handling of the
GPT table:

- The endianess of NumberOfPartitions was wrong in the measurement log
- Remove the reserved data array from UEFI_PARTITION_TABLE_HEADER and
  log and measure exactly the size of the UEFI partition table header
  (92 bytes)

Regards,
   Stefan

v2:
 - Took Alexey's suggestions

Stefan Berger (2):
  tcgbios: Fix endianess of NumberOfPartitions
  tcgbios: Only measure size indicated in UEFI partition table header

 lib/libtpm/tcgbios.c     | 27 ++++++++++++++++++++-------
 lib/libtpm/tcgbios_int.h |  1 -
 2 files changed, 20 insertions(+), 8 deletions(-)

-- 
2.25.1



More information about the SLOF mailing list