Home
last modified time | relevance | path

Searched hist:"906 e0f802b56d26e7e0c65eba797fa8a596dee91" (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-host-ipmid/test/message/
H A Dpack.cppdiff 906e0f802b56d26e7e0c65eba797fa8a596dee91 Wed Apr 24 16:44:03 CDT 2019 William A. Kennington III <wak@google.com> message/pack: Check for outstanding bits

Currently, if you pack a non-byte aligned member into a message and then
pack an array, it will do the wrong thing and treat the unaligned data
as being appended to the end of the message. Allowing for this behavior
is convoluted and probably not useful, so just return an error.

Change-Id: I6f200dbea96c41f49a110ba7536ccfd37115d277
Signed-off-by: William A. Kennington III <wak@google.com>
/openbmc/phosphor-host-ipmid/include/ipmid/message/
H A Dpack.hppdiff 906e0f802b56d26e7e0c65eba797fa8a596dee91 Wed Apr 24 16:44:03 CDT 2019 William A. Kennington III <wak@google.com> message/pack: Check for outstanding bits

Currently, if you pack a non-byte aligned member into a message and then
pack an array, it will do the wrong thing and treat the unaligned data
as being appended to the end of the message. Allowing for this behavior
is convoluted and probably not useful, so just return an error.

Change-Id: I6f200dbea96c41f49a110ba7536ccfd37115d277
Signed-off-by: William A. Kennington III <wak@google.com>