Re: [PATCH 042/104] virtiofsd: validate input buffer sizes in do_write_buf()

2020-01-16 Thread Sergio Lopez
Dr. David Alan Gilbert (git) writes: > From: Stefan Hajnoczi > > There is a small change in behavior: if fuse_write_in->size doesn't > match the input buffer size then the request is failed. Previously > write requests with 1 fuse_buf element would truncate to > fuse_write_in->size. > > Signed

[PATCH 042/104] virtiofsd: validate input buffer sizes in do_write_buf()

2019-12-12 Thread Dr. David Alan Gilbert (git)
From: Stefan Hajnoczi There is a small change in behavior: if fuse_write_in->size doesn't match the input buffer size then the request is failed. Previously write requests with 1 fuse_buf element would truncate to fuse_write_in->size. Signed-off-by: Stefan Hajnoczi --- tools/virtiofsd/fuse_lo