aboutsummaryrefslogtreecommitdiff
path: root/nbd
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2017-11-08 15:57:02 -0600
committerEric Blake <eblake@redhat.com>2017-11-09 10:22:26 -0600
commitb4176cb314995ad225d6c2b531568801feb04f3f (patch)
tree40e07ee6187137216d787742c43b3213c00cc450 /nbd
parent9d8f818cdee83e726a5dd14b645738ec632d2577 (diff)
downloadqemu-b4176cb314995ad225d6c2b531568801feb04f3f.zip
qemu-b4176cb314995ad225d6c2b531568801feb04f3f.tar.gz
qemu-b4176cb314995ad225d6c2b531568801feb04f3f.tar.bz2
nbd-client: Stricter enforcing of structured reply spec
Ensure that the server is not sending unexpected chunk lengths for either the NONE or the OFFSET_DATA chunk, nor unexpected hole length for OFFSET_HOLE. This will flag any server as broken that responds to a zero-length read with an OFFSET_DATA (what our server currently does, but that's about to be fixed) or with OFFSET_HOLE, even though we previously fixed our client to never be able to send such a request over the wire. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20171108215703.9295-7-eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions