Re: [Qemu-block] [PATCH v2 7/7] nbd/server: Fix structured read of length 0

2017-11-09 Thread Vladimir Sementsov-Ogievskiy
09.11.2017 00:57, Eric Blake wrote: The NBD spec was recently clarified to state that a read of length 0 should not be attempted by a compliant client; but that a server must still handle it correctly in an unspecified manner (that is, either a successful no-op or an error reply, but not a

[Qemu-block] [PATCH v2 7/7] nbd/server: Fix structured read of length 0

2017-11-08 Thread Eric Blake
The NBD spec was recently clarified to state that a read of length 0 should not be attempted by a compliant client; but that a server must still handle it correctly in an unspecified manner (that is, either a successful no-op or an error reply, but not a crash) [1]. However, it also implies that