commit | 81aecc6b41c3214abf9038b2f63e9edc1f681e56 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Thu May 12 13:52:47 2016 -0500 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Mon May 16 14:36:04 2016 -0500 |
tree | 72822b9412de26a1dc61fa3dba46d4fff7aa4785 | |
parent | a14239a201443222906864273449a39cfa84118e [diff] |
Replace uint8_t buffer length variable with size_t The latest Barreleye vpd contains additional custom fields in one of the board sections, pushing the size of the buffer over 0x100. The current variable that stores the buffer size is set to be size_t, but the function using it crops it to uint8_t which doesn't fit the extended size. Changing the function to use size_t. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>