Loading
blobcli: do not read from an zero-length blob
Not all blobs have data: an lvstore's super blob is a common example. Perform a size check prior to trying to dump the blob's contents. Signed-off-by:Mike Gerdts <mgerdts@nvidia.com> Change-Id: Ic5bc1b11cdda72a36c6a3f4b4de0fd6f1a2948c6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11246 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>