diff options
| author | Alex Chen <alex.chen@huawei.com> | 2020-12-14 12:16:15 +0000 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-12-18 10:08:24 +0000 |
| commit | 03350a1e8d88196eaa98d0cce4e24e730f09ad5b (patch) | |
| tree | 7ff65d94b1cd3a21b84082c22fa544d195d282f0 /hw/char/parallel.c | |
| parent | d6211148f6509a4ece59cf8840b3198f96f7a3e9 (diff) | |
| download | focaccia-qemu-03350a1e8d88196eaa98d0cce4e24e730f09ad5b.tar.gz focaccia-qemu-03350a1e8d88196eaa98d0cce4e24e730f09ad5b.zip | |
virtiofsd: Remove useless code about send_notify_iov
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> Message-Id: <20201214121615.29967-1-alex.chen@huawei.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hw/char/parallel.c')
0 files changed, 0 insertions, 0 deletions