commit | 23b7021c00b0a52cd7837c9d51cfa7fa52dc9776 | [log] [tgz] |
---|---|---|
author | Vernon Mauery <vernon.mauery@linux.intel.com> | Wed May 08 15:19:05 2019 -0700 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Tue May 14 15:42:47 2019 +0000 |
tree | b538d48fc806660d5ae4997625fd3b2ffc1a302a | |
parent | 687df40108b0103f7539fafebcce63c1f8405335 [diff] |
Legacy D-Bus interface must set yield_context The legacy D-Bus interface was not setting the yield_context pointer in the ipmi::Context struct. This means that a command coming in from a legacy D-Bus interface that called a new-provider that uses the yield_method_call function would segfault on a NULL pointer. This change makes the legacy interface behave the same as the new D-Bus interface by creating a new boost::coroutine for each command. Tested-by: running a legacy ipmitool to ensure that the rewritten set chassis power restore policy command worked without a segfault. Change-Id: Ie45fff1fc222b9b949a9d3976bf9d1b2c29bd8f5 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
.