Dr. David Alan Gilbert (git) <dgilb...@redhat.com> writes:

> From: Stefan Hajnoczi <stefa...@redhat.com>
>
> 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 <stefa...@redhat.com>
> ---
>  tools/virtiofsd/fuse_lowlevel.c | 581 +++++++++++++++++++++++++-------
>  1 file changed, 456 insertions(+), 125 deletions(-)

Reviewed-by: Sergio Lopez <s...@redhat.com>

Attachment: signature.asc
Description: PGP signature

Reply via email to