[Virtio-fs] [PATCH v2 0/2] virtiofsd: fix some accessing NULL pointer problem
Stefan Hajnoczi
stefanha at redhat.com
Tue Nov 10 11:45:48 UTC 2020
On Tue, Nov 10, 2020 at 02:32:17PM +0800, Haotian Li wrote:
> Haotian Li (2):
> tools/virtiofsd/buffer.c: check whether buf is NULL in
> fuse_bufvec_advance func
> virtiofsd/passthrough_ll.c: check whether lo_map_reserve returns NULL
> in main func
>
> tools/virtiofsd/buffer.c | 4 ++++
> tools/virtiofsd/passthrough_ll.c | 10 +++++++++-
> 2 files changed, 13 insertions(+), 1 deletion(-)
Please consider printing an error message in Patch 2 so that users can
easily tell why the program refused to start.
Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virtio-fs/attachments/20201110/f49f1ce5/attachment.sig>
More information about the Virtio-fs
mailing list