]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/tools/store-nbd: check length of buffer
authorSamuel Just <sjust@redhat.com>
Sat, 20 Feb 2021 03:27:49 +0000 (03:27 +0000)
committerSamuel Just <sjust@redhat.com>
Sat, 20 Feb 2021 03:28:12 +0000 (03:28 +0000)
commita232a75b3b87a37d2df89786ee978925770d07d9
tree3d6cafc9675e01da82149676f791dce20524ecec
parent568eb9e3f3ccbfdee7e6d7cb76b062655cdbf6f4
crimson/tools/store-nbd: check length of buffer

read_exactly does not return an error if the stream
has ended.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/tools/store-nbd.cc