summaryrefslogtreecommitdiffstats
path: root/include/ipmid
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2019-04-24 01:57:36 -0700
committerWilliam A. Kennington III <wak@google.com>2019-04-29 12:06:35 -0700
commitd10d90563e58606964fe3b8460eed2ca719527e5 (patch)
treeb0407871f01e1d50822a45b89cc681a31895533c /include/ipmid
parentf2fd17a41bf7e3afd4d69adf5f8ea5642bdfffcf (diff)
downloadphosphor-host-ipmid-d10d90563e58606964fe3b8460eed2ca719527e5.tar.gz
phosphor-host-ipmid-d10d90563e58606964fe3b8460eed2ca719527e5.zip
ipmid: Fix group / OEM parsing
The types of the fields being unpacked are larger than what the spec requires for the sizing. This means our unpacker tries to unpack 4 bytes for the group (which is supposed to be 1 byte) and 4 bytes for the oem (which is only 3 bytes). This breaks oem commands that take no arguments since our parser will reject those commands for being too short. It also breaks the response, since it adds more bytes than needed. Change-Id: I4f4710a6a2720574efb86635827f737be48d296a Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'include/ipmid')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud