qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] virtiofsd: fix some accessing NULL pointer problem
@ 2020-11-10  1:09 Haotian Li
  2020-11-10  1:10 ` [PATCH 1/2] tools/virtiofsd/buffer.c: check whether buf is NULL in fuse_bufvec_advance func Haotian Li
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Haotian Li @ 2020-11-10  1:09 UTC (permalink / raw)
  To: qemu-devel, virtio-fs; +Cc: linfeilong, liuzhiqiang26

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


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH v2 0/2] virtiofsd: fix some accessing NULL pointer problem
@ 2020-11-10  6:32 Haotian Li
  2020-11-10  6:35 ` [PATCH 1/2] tools/virtiofsd/buffer.c: check whether buf is NULL in fuse_bufvec_advance func Haotian Li
  0 siblings, 1 reply; 6+ messages in thread
From: Haotian Li @ 2020-11-10  6:32 UTC (permalink / raw)
  To: qemu-devel, virtio-fs; +Cc: linfeilong, liuzhiqiang26

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

-- 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-10  6:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-10  1:09 [PATCH 0/2] virtiofsd: fix some accessing NULL pointer problem Haotian Li
2020-11-10  1:10 ` [PATCH 1/2] tools/virtiofsd/buffer.c: check whether buf is NULL in fuse_bufvec_advance func Haotian Li
2020-11-10  1:11 ` [PATCH 2/2] virtiofsd: check whether lo_map_reserve returns NULL in main func Haotian Li
2020-11-10  1:18 ` [PATCH 0/2] virtiofsd: fix some accessing NULL pointer problem no-reply
2020-11-10  6:01   ` Haotian Li
  -- strict thread matches above, loose matches on Subject: below --
2020-11-10  6:32 [PATCH v2 " Haotian Li
2020-11-10  6:35 ` [PATCH 1/2] tools/virtiofsd/buffer.c: check whether buf is NULL in fuse_bufvec_advance func Haotian Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).