qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 043/104] virtiofsd: check input buffer size in fuse_lowlevel.


From: Sergio Lopez
Subject: Re: [PATCH 043/104] virtiofsd: check input buffer size in fuse_lowlevel.c ops
Date: Thu, 16 Jan 2020 15:25:25 +0100
User-agent: mu4e 1.2.0; emacs 26.3

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

> From: Stefan Hajnoczi <address@hidden>
>
> Each FUSE operation involves parsing the input buffer.  Currently the
> code assumes the input buffer is large enough for the expected
> arguments.  This patch uses fuse_mbuf_iter to check the size.
>
> Most operations are simple to convert.  Some are more complicated due to
> variable-length inputs or different sizes depending on the protocol
> version.
>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
>  tools/virtiofsd/fuse_lowlevel.c | 581 +++++++++++++++++++++++++-------
>  1 file changed, 456 insertions(+), 125 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]