Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 35cf1d7eb0b06fcb8d3fec6ff7208722c77c8435
      
https://github.com/tianocore/edk2/commit/35cf1d7eb0b06fcb8d3fec6ff7208722c77c8435
  Author: Thejaswani Putta <tpu...@nvidia.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M MdePkg/Include/IndustryStandard/IpmiNetFnStorage.h

  Log Message:
  -----------
  MdePkg: fix fru device description string copy error.

As per IPMI spec, fru string can be maximum of 16 bytes length
and fru length field can take 5 bits (to hold values up to 16 -
10000b).

Current implementation allocates only 4 bits for Fru String Length
and this is causing an error when 16 bytes length fru string needs
to be copied as the first 4 bits in 0x10 is 0.

Fixed the structure IPMI_SDR_RECORD_DEV_ID_STR_TYPE_LENGTH, by
allocating 5 bits for Length field as per the spec instead of 4.

Signed-off-by: Thejaswani Putta <tpu...@nvidia.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

Reply via email to