Searched hist:f1e32c170bed67501a172dd6d0e111dc08b6957f (Results 1 – 2 of 2) sorted by relevance
/openbmc/pldm/platform-mc/test/ |
H A D | terminus_test.cpp | diff f1e32c170bed67501a172dd6d0e111dc08b6957f Mon Aug 12 05:12:30 CDT 2024 tal-yac <talycb8@gmail.com> platform-mc: Fix sensor aux name pdr parsing
This fixes an issue with counting the null terminator twice: both on the name length and on the pdr pointer increment. This caused to_bytes to throw an exception on sensors with composite sensor count larger than 1.
Change-Id: I85c2c12854698402b213fe2dd66a42ac8c299902 Signed-off-by: tal-yac <talycb8@gmail.com> Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
|
/openbmc/pldm/platform-mc/ |
H A D | terminus.cpp | diff f1e32c170bed67501a172dd6d0e111dc08b6957f Mon Aug 12 05:12:30 CDT 2024 tal-yac <talycb8@gmail.com> platform-mc: Fix sensor aux name pdr parsing
This fixes an issue with counting the null terminator twice: both on the name length and on the pdr pointer increment. This caused to_bytes to throw an exception on sensors with composite sensor count larger than 1.
Change-Id: I85c2c12854698402b213fe2dd66a42ac8c299902 Signed-off-by: tal-yac <talycb8@gmail.com> Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
|