qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] coverity fixes
@ 2023-09-26 20:15 Vladimir Sementsov-Ogievskiy
  2023-09-26 20:15 ` [PATCH v2 1/8] hw/i386/intel_iommu: vtd_slpte_nonzero_rsvd(): assert no overflow Vladimir Sementsov-Ogievskiy
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2023-09-26 20:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, vsementsov, peter.maydell, yc-core, davydov-max

v2:
01: add explanations, new assert and avoid extra assignment
    add CIDs [thx to Paolo]
02: add explanation, improve wording
04,07: s/{0}/{}
06,08: improve wording

Hi! Here are some improvements to handle issues found by Coverity (not
public Coverity site, so there are no CIDs).

Vladimir Sementsov-Ogievskiy (8):
  hw/i386/intel_iommu: vtd_slpte_nonzero_rsvd(): assert no overflow
  util/filemonitor-inotify: qemu_file_monitor_watch(): assert no
    overflow
  libvhost-user.c: add assertion to vu_message_read_default
  mc146818rtc: rtc_set_time(): initialize tm to zeroes
  pcie_sriov: unregister_vfs(): fix error path
  block/nvme: nvme_process_completion() fix bound for cid
  hw/core/loader: gunzip(): initialize z_stream
  io/channel-socket: qio_channel_socket_flush(): improve msg validation

 block/nvme.c                              |  7 ++++---
 hw/core/loader.c                          |  2 +-
 hw/i386/intel_iommu.c                     | 23 ++++++++++++++++++---
 hw/pci/pcie_sriov.c                       |  9 +++-----
 hw/rtc/mc146818rtc.c                      |  2 +-
 io/channel-socket.c                       |  5 +++++
 subprojects/libvhost-user/libvhost-user.c |  1 +
 util/filemonitor-inotify.c                | 25 +++++++++++++++--------
 8 files changed, 52 insertions(+), 22 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2023-09-27  8:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-26 20:15 [PATCH v2 0/8] coverity fixes Vladimir Sementsov-Ogievskiy
2023-09-26 20:15 ` [PATCH v2 1/8] hw/i386/intel_iommu: vtd_slpte_nonzero_rsvd(): assert no overflow Vladimir Sementsov-Ogievskiy
2023-09-26 20:24   ` Peter Maydell
2023-09-26 20:15 ` [PATCH v2 2/8] util/filemonitor-inotify: qemu_file_monitor_watch(): " Vladimir Sementsov-Ogievskiy
2023-09-26 20:25   ` Peter Maydell
2023-09-26 20:15 ` [PATCH v2 3/8] libvhost-user.c: add assertion to vu_message_read_default Vladimir Sementsov-Ogievskiy
2023-09-26 20:15 ` [PATCH v2 4/8] mc146818rtc: rtc_set_time(): initialize tm to zeroes Vladimir Sementsov-Ogievskiy
2023-09-26 20:26   ` Peter Maydell
2023-09-26 20:15 ` [PATCH v2 5/8] pcie_sriov: unregister_vfs(): fix error path Vladimir Sementsov-Ogievskiy
2023-09-26 20:47   ` Vladimir Sementsov-Ogievskiy
2023-09-26 20:15 ` [PATCH v2 6/8] block/nvme: nvme_process_completion() fix bound for cid Vladimir Sementsov-Ogievskiy
2023-09-26 20:41   ` Stefan Hajnoczi
2023-09-26 20:15 ` [PATCH v2 7/8] hw/core/loader: gunzip(): initialize z_stream Vladimir Sementsov-Ogievskiy
2023-09-26 20:26   ` Peter Maydell
2023-09-26 20:15 ` [PATCH v2 8/8] io/channel-socket: qio_channel_socket_flush(): improve msg validation Vladimir Sementsov-Ogievskiy
2023-09-27  8:06 ` [PATCH v2 0/8] coverity fixes Maksim Davydov

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