[Virtio-fs] [PATCH 0/2] virtiofsd: fix some accessing NULL pointer problem
Haotian Li
lihaotian9 at huawei.com
Tue Nov 10 01:09:12 UTC 2020
Hi,
We find some potential NULL pointer bugs on tools/virtiofsd.
Two patches are made to fix them.
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 | 3 +++
tools/virtiofsd/passthrough_ll.c | 8 +++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
More information about the Virtio-fs
mailing list