[Virtio-fs] [PATCH v3 0/3] virtiofsd: fix some accessing NULL pointer problem
Dr. David Alan Gilbert
dgilbert at redhat.com
Thu Nov 12 16:25:50 UTC 2020
* Haotian Li (lihaotian9 at huawei.com) wrote:
> Hi,
> We find some potential NULL pointer bugs on tools/virtiofsd.
> Three patches are made to fix them
Queued
> Haotian Li (3):
> tools/virtiofsd/buffer.c: check whether buf is NULL in
> fuse_bufvec_advance func
> virtiofsd: check whether lo_map_reserve returns NULL in main func
> virtiofsd: check whether strdup lo.source return NULL in main func.
>
> tools/virtiofsd/buffer.c | 4 ++++
> tools/virtiofsd/passthrough_ll.c | 16 +++++++++++++++-
> 2 files changed, 19 insertions(+), 1 deletion(-)
>
> --
>
--
Dr. David Alan Gilbert / dgilbert at redhat.com / Manchester, UK
More information about the Virtio-fs
mailing list