[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] virtiofsd: Remove useless code about send_notify_iov
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] virtiofsd: Remove useless code about send_notify_iov |
Date: |
Mon, 14 Dec 2020 17:00:45 +0000 |
On Mon, Dec 14, 2020 at 12:16:15PM +0000, Alex Chen wrote:
> The 'ch' will be NULL in the following stack:
> send_notify_iov()->fuse_send_msg()->virtio_send_msg(), and
> this may lead to NULL pointer dereferenced in virtio_send_msg().
> But send_notify_iov() was never called, so remove the useless code
> about send_notify_iov() to fix this problem.
>
> Signed-off-by: Alex Chen <alex.chen@huawei.com>
> ---
> tools/virtiofsd/fuse_lowlevel.c | 98 ---------------------------------
> 1 file changed, 98 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature