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(-)