5589fc4a6a
an off by one error and a bounds checking addition Change-Id: Ifad5ec4b5e358d69d35e06a7902d5593c4b7fb86 Signed-off-by: Paul Luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/383296 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>