commit | 48408b6d85d1de60f9ff7a68a6c01585be50cf7b | [log] [tgz] |
---|---|---|
author | Vernon Mauery <vernon.mauery@linux.intel.com> | Thu Aug 22 14:41:50 2019 -0700 |
committer | Tom Joseph <tomjoseph@in.ibm.com> | Fri Aug 30 05:51:06 2019 +0000 |
tree | aaa1641504d1f1b29acd26c4291647bdab2d538b | |
parent | 0a327e1ce11fb6ef083bffcbb5426e3d10542753 [diff] |
legacy handlers need a bigger buffer In the original ipmi execution queue, handlers were passed a larger buffer. The current code was only passing in the configured channel size, or 64 if no size was configured. This is too small and leads to buffer overflows for responses greater than 64 bytes. This brings the buffer sizes up to a point that matches the legacy code and to a size that is larger than any of IPMI standard transport sizes. Tested: used a bogus handler to create a large response and found that the entire response was returned. Change-Id: I91b359812247ae5fdef105c7b7a9dfe003548494 Signed-off-by: Vernon Mauery <vernon.mauery@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
.