commit | caabc36b6a7596c6a6deb774770f4271f50942e9 | [log] [tgz] |
---|---|---|
author | Vernon Mauery <vernon.mauery@linux.intel.com> | Tue Jul 23 16:49:34 2019 -0700 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Mon Sep 16 20:12:11 2019 +0000 |
tree | 57e4494de420a05d423260964d57125e4d36ca63 | |
parent | cb09aa00e8f25fda20780f0a26a7c35b24c4b59b [diff] |
fix logic error for unpack vector of tuple Unpacking a vector of tuples is failing if the correct number of bytes does not match an integral number of bytes needed to fully unpack all the tuples. Unpacking a tuple should return an error if it does not fully unpack all the items. This will signal the vector unpack to bail and return however many items it has unpacked to that point. A vector unpack should always return success because no matter how many items it has unpacked, it is fine, because a vector can have any number of items. Tested: Unit tests updated to check for proper unpacking of vectors and tuples (and optionals) as well as new unit tests added for more targetted testing. Change-Id: I4b45198f8bc4a49913beb923d10079983179402a 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
.