710cab6f67
Fixes memory access errors detected by Coverity. All cases are the maximum permissable value causing an out-by-one overrun. Coverity issue: 143433, 143434, 143460, 143464 Fixes: 349950ddb9c5 ("metrics: add information metrics library") Signed-off-by: Remy Horton <remy.horton@intel.com>