All of lore.kernel.org
 help / color / mirror / Atom feed
* [Virtio-fs] [PATCH v3 0/3] virtiofsd: fix some accessing NULL pointer problem
@ 2020-11-11  1:04 ` Haotian Li
  0 siblings, 0 replies; 13+ messages in thread
From: Haotian Li @ 2020-11-11  1:04 UTC (permalink / raw)
  To: qemu-devel, virtio-fs; +Cc: linfeilong

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

-- 


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

end of thread, other threads:[~2020-11-12 16:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-11  1:04 [Virtio-fs] [PATCH v3 0/3] virtiofsd: fix some accessing NULL pointer problem Haotian Li
2020-11-11  1:04 ` Haotian Li
2020-11-11  1:05 ` [Virtio-fs] [PATCH 1/3] tools/virtiofsd/buffer.c: check whether buf is NULL in fuse_bufvec_advance func Haotian Li
2020-11-11  1:05   ` Haotian Li
2020-11-11 19:59   ` [Virtio-fs] " Dr. David Alan Gilbert
2020-11-11  1:09 ` [Virtio-fs] [PATCH 2/3] virtiofsd: check whether lo_map_reserve returns NULL in, main func Haotian Li
2020-11-11  1:09   ` Haotian Li
2020-11-11 19:52   ` [Virtio-fs] " Dr. David Alan Gilbert
2020-11-11  1:10 ` [Virtio-fs] [PATCH 3/3] virtiofsd: check whether strdup lo.source return NULL in " Haotian Li
2020-11-11  1:10   ` Haotian Li
2020-11-11 19:55   ` [Virtio-fs] " Dr. David Alan Gilbert
2020-11-12 16:25 ` [Virtio-fs] [PATCH v3 0/3] virtiofsd: fix some accessing NULL pointer problem Dr. David Alan Gilbert
2020-11-12 16:25   ` Dr. David Alan Gilbert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.