diff options
author | Eric Blake | 2018-06-21 14:49:37 +0200 |
---|---|---|
committer | Eric Blake | 2018-06-21 16:21:34 +0200 |
commit | d8b20291cba6aa9bb295885a34f2b5f05d59d1b2 (patch) | |
tree | 0e9c8106d6cc7a9e1b7798bf48a9301f97a599a2 /ui/gtk-egl.c | |
parent | tests: Simplify .gitignore (diff) | |
download | qemu-d8b20291cba6aa9bb295885a34f2b5f05d59d1b2.tar.gz qemu-d8b20291cba6aa9bb295885a34f2b5f05d59d1b2.tar.xz qemu-d8b20291cba6aa9bb295885a34f2b5f05d59d1b2.zip |
nbd/server: Reject 0-length block status request
The NBD spec says that behavior is unspecified if the client
requests 0 length for block status; but since the structured
reply is documenting as returning a non-zero length, it's
easier to just diagnose this with an EINVAL error than to
figure out what to return.
CC: qemu-stable@nongnu.org
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180621124937.166549-1-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'ui/gtk-egl.c')
0 files changed, 0 insertions, 0 deletions