All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] hw/block/nvme: coverity fixes
@ 2021-03-15 11:03 Klaus Jensen
  2021-03-15 11:03 ` [PATCH 1/2] hw/block/nvme: fix potential overflow Klaus Jensen
  2021-03-15 11:03 ` [PATCH 2/2] hw/block/nvme: assert namespaces array indices Klaus Jensen
  0 siblings, 2 replies; 6+ messages in thread
From: Klaus Jensen @ 2021-03-15 11:03 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, qemu-block, Klaus Jensen, Max Reitz, Keith Busch,
	Klaus Jensen

From: Klaus Jensen <k.jensen@samsung.com>

Fix three issues reported by coverity (CID 1450756, CID 1450757 and CID
1450758).

Klaus Jensen (2):
  hw/block/nvme: fix potential overflow
  hw/block/nvme: assert namespaces array indices

 hw/block/nvme-subsys.h |  2 ++
 hw/block/nvme.h        | 10 ++++++++--
 hw/block/nvme-subsys.c |  7 +++++--
 hw/block/nvme.c        |  2 +-
 4 files changed, 16 insertions(+), 5 deletions(-)

-- 
2.30.1



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/2] hw/block/nvme: coverity fixes
@ 2021-03-22  6:19 Klaus Jensen
  0 siblings, 0 replies; 6+ messages in thread
From: Klaus Jensen @ 2021-03-22  6:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, qemu-block, Klaus Jensen, Max Reitz, Keith Busch,
	Klaus Jensen

From: Klaus Jensen <k.jensen@samsung.com>

Fix two issues reported by coverity (CID 1451080 and 1451082).

Klaus Jensen (2):
  hw/block/nvme: fix resource leak in nvme_dif_rw
  hw/block/nvme: fix resource leak in nvme_format_ns

 hw/block/nvme-dif.c | 2 +-
 hw/block/nvme.c     | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.31.0



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

end of thread, other threads:[~2021-03-22  6:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-15 11:03 [PATCH 0/2] hw/block/nvme: coverity fixes Klaus Jensen
2021-03-15 11:03 ` [PATCH 1/2] hw/block/nvme: fix potential overflow Klaus Jensen
2021-03-15 11:03 ` [PATCH 2/2] hw/block/nvme: assert namespaces array indices Klaus Jensen
2021-03-15 11:19   ` Philippe Mathieu-Daudé
2021-03-15 11:24     ` Klaus Jensen
  -- strict thread matches above, loose matches on Subject: below --
2021-03-22  6:19 [PATCH 0/2] hw/block/nvme: coverity fixes Klaus Jensen

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.