qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 042/104] virtiofsd: validate input buffer sizes in do_write_b


From: Sergio Lopez
Subject: Re: [PATCH 042/104] virtiofsd: validate input buffer sizes in do_write_buf()
Date: Thu, 16 Jan 2020 15:19:22 +0100
User-agent: mu4e 1.2.0; emacs 26.3

Dr. David Alan Gilbert (git) <address@hidden> writes:

> From: Stefan Hajnoczi <address@hidden>
>
> 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 <address@hidden>
> ---
>  tools/virtiofsd/fuse_lowlevel.c | 49 ++++++++++++++++++++-------------
>  1 file changed, 30 insertions(+), 19 deletions(-)

Reviewed-by: Sergio Lopez <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]