Closed FHomps closed 2 years ago
https://github.com/openbmc/pldm/blob/ef773059fdead2135c96c4a4c3520e4752012ef0/libpldm/platform.c#L1455:L1457
No comparison should be done on *sensor_data_size, which is supposed to be filled in by the function (and is, right after this check).
*sensor_data_size
review by: https://gerrit.openbmc.org/c/openbmc/pldm/+/57716
https://github.com/openbmc/pldm/blob/ef773059fdead2135c96c4a4c3520e4752012ef0/libpldm/platform.c#L1455:L1457
No comparison should be done on
*sensor_data_size
, which is supposed to be filled in by the function (and is, right after this check).