commit | 153d4c14af30e579ddc7fa3489ffe382b1a3f9ce | [log] [tgz] |
---|---|---|
author | Arun Lal K M <arun.lal@intel.com> | Wed Aug 25 22:00:37 2021 +0000 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Fri Sep 03 19:32:00 2021 +0000 |
tree | 4dee7df4922a33c64dde8ed59ec6bbc5917efdab | |
parent | 3b3d29b156ac03b8fbd56e8c6b45cc0f607a723a [diff] |
Kloxwork Issue : NULL check after EVP_MD_CTX_new EVP_MD_CTX_new could return NULL. This Commit adds a NULL check to avoid NULL pointer dereferencing. Tested: By performing firmware update using following steps. 1. Generate fw update random number ipmitool raw 0x08 0x26 2. Enter fw update mode ipmitool raw 0x08 0x27 0xa8 0xa8 0x32 0x49 0x0a 0x28 0xef 0x40 3. Start Image transfer ipmitool raw 0x08 0x29 0x01 4. Set Firmware update options ipmitool raw 0x08 0x2B 0x04 0x04 0xe3 0xb0 0xc4 0x42 0x98 0xfc 0x1c 0x14 0x9a 0xfb 0xf4 0xc8 0x99 0x6f 0xb9 0x24 0x27 0xae 0x41 0xe4 0x64 0x9b 0x93 0x4c 0xa4 0x95 0x99 0x1b 0x78 0x52 0xb8 0x55 5. Set file name (file:///tmp/BMC.Bin) ipmitool raw 0x08 0x29 0x04 0x13 0x66 0x69 0x6c 0x65 0x3a 0x2f 0x2f 0x2f 0x74 0x6d 0x70 0x2f 0x42 0x4d 0x43 0x2e 0x42 0x69 0x6e 6. End Image transfer ipmitool raw 0x08 0x29 0x02 7. Exit fw-update mode ipmitool raw 0x08 0x28 Signed-off-by: Arun Lal K M <arun.lal@intel.com> Change-Id: Iefb83247278bfc58af209dad252f01c4bf01f2f4
This component is intended to provide Intel-specific IPMI[3]
command handlers for OpenBMC. These handlers are intended to integrate BMC with servers based on Intel architecture.
intel-ipmi-oem
serves as an extension[1]
to OpenBMC IPMI daemon[2]
. It is compiled as a shared library and intended to both:
Related features provided by the library are grouped in separate source files. Main extensions to vanilla OpenBMC IPMI stack are the following:
[4]