virtiofsd: fix some accessing NULL pointer problem
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 4 repliesIn review
- v22 patches 3 repliesSuperseded
- v12 patches 1 replySuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tools/virtiofsd/buffer.c: check whether buf is NULL in fuse_bufvec_advance functools/ | +4 | 1 reply | |
| 2/3 | virtiofsd: check whether lo_map_reserve returns NULL in, main functools/ | +11 | 1 reply | |
| 3/3 | virtiofsd: check whether strdup lo.source return NULL in main functools/ | +4 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Dr. David Alan Gilbert |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] virtiofsd: fix some accessing NULL pointer problem
Hi,
We find some potential NULL pointer bugs on tools/virtiofsd.
Three patches are made to fix them
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(-)