| commit | c2af98befb8ce52f9e290793e756ad12da0ef2bf | [log] [tgz] |
|---|---|---|
| author | Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | Tue Sep 14 09:19:11 2021 +0000 |
| committer | Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | Tue Sep 14 09:19:11 2021 +0000 |
| tree | 56f9bcb84a67c2da6d19238bd722a28d86ab196c | |
| parent | 7a3296df0c2f9b8e04e5b60942fba086f999e1b9 [diff] |
Master Write-Read: Validate reserved field content
In "Master Write-Read Command" byte-2’s zero'th bit is reserved.
So return "InvalidFieldRequest" when reserved content is non-zero.
Tested:
IPMI Command: Master Write-Read Command
Command: ipmitool raw 0x06 0x52 0x0e 0xa1 0xff 0x1
Response: Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0
cmd=0x52 rsp=0xcc): Invalid data field in request
Command: ipmitool raw 0x06 0x52 0x0e 0xa0 0xb 0x1
Response: 00 00 00 01 0d 00 f1 01 0c 19 e1
Signed-off-by: Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: I1f9fb688642f1096385e4263a4648c7233e5de85
To build this package, do the following steps:
1. ./bootstrap.sh
2. ./configure ${CONFIGURE_FLAGS}
3. make
To clean the repository run ./bootstrap.sh clean.