commit | 851acb19d773fe771201968a43b7760c63757b8c | [log] [tgz] |
---|---|---|
author | Jason M. Bills <jason.m.bills@linux.intel.com> | Mon Feb 04 14:06:57 2019 -0800 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Wed Feb 06 21:33:31 2019 +0000 |
tree | 58067945be57cdf90db5580621d722701dd58548 | |
parent | 41ac50530ab0618155d9e8ae3be3a0abd59c24e4 [diff] |
Add request data length check to IPMI SEL commands This changes adds a data length check to all supported IPMI SEL commands. This prevents a command from being handled when too much data is provided in the request. Tested: Ran Get SEL Info, Reserve SEL, Get SEL Entry, Add SEL Entry Delete SEL Entry, Clear SEL, Get SEL Time, Set SEL Time, with and without an extra byte. Without the extra byte, the commands returned normally; with the extra byte, a 0xC7 is returned indicating that the request data length is invalid. Change-Id: Icdd7db80f1bced3e6efddb5c5655e9f44a4e0e3b Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
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
.