On Wed, May 23, 2018 at 11:04:28AM +0800, Fam Zheng wrote: > We don't verify the request range against s->size in the I/O callbacks > except for raw_co_pwritev. This is wrong (especially for > raw_co_pwrite_zeroes and raw_co_pdiscard), so fix them. > > Signed-off-by: Fam Zheng <f...@redhat.com> > --- > block/raw-format.c | 64 > +++++++++++++++++++++++++++++++++--------------------- > 1 file changed, 39 insertions(+), 25 deletions(-)
The uint64_t vs int64_t inconsistency is ugly but pre-existing due to the interfaces: Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature