qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/12] coverity fixes
@ 2023-09-25 19:40 Vladimir Sementsov-Ogievskiy
  2023-09-25 19:40 ` [PATCH 01/12] hw/core/loader: load_at(): check size Vladimir Sementsov-Ogievskiy
                   ` (11 more replies)
  0 siblings, 12 replies; 41+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2023-09-25 19:40 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, vsementsov

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

Vladimir Sementsov-Ogievskiy (12):
  hw/core/loader: load_at(): check size
  hw/i386/intel_iommu: vtd_slpte_nonzero_rsvd(): reduce magic numbers
  util/filemonitor-inotify: qemu_file_monitor_watch(): avoid overflow
  libvhost-user.c: add assertion to vu_message_read_default
  device_tree: qmp_dumpdtb(): stronger assertion
  mc146818rtc: rtc_set_time(): initialize tm to zeroes
  pcie_sriov: unregister_vfs(): fix error path
  block/nvme: nvme_process_completion() fix bound for cid
  kvm-all: introduce limits for name_size and num_desc
  hw/core/loader: gunzip(): initialize z_stream
  hw/core/loader: read_targphys(): add upper bound
  io/channel-socket: qio_channel_socket_flush(): improve msg validation

 accel/kvm/kvm-all.c                       | 15 +++++++++++
 block/nvme.c                              |  6 ++---
 hw/core/loader.c                          | 32 +++++++++++++++++++----
 hw/i386/intel_iommu.c                     | 11 +++++---
 hw/pci/pcie_sriov.c                       |  9 +++----
 hw/rtc/mc146818rtc.c                      |  2 +-
 include/hw/loader.h                       |  2 --
 io/channel-socket.c                       |  5 ++++
 softmmu/device_tree.c                     |  2 +-
 subprojects/libvhost-user/libvhost-user.c |  1 +
 util/filemonitor-inotify.c                | 21 +++++++++------
 11 files changed, 77 insertions(+), 29 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2023-09-26 19:17 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-25 19:40 [PATCH 00/12] coverity fixes Vladimir Sementsov-Ogievskiy
2023-09-25 19:40 ` [PATCH 01/12] hw/core/loader: load_at(): check size Vladimir Sementsov-Ogievskiy
2023-09-26 10:33   ` Peter Maydell
2023-09-26 10:51     ` Vladimir Sementsov-Ogievskiy
2023-09-26 10:54       ` Peter Maydell
2023-09-26 11:42         ` Vladimir Sementsov-Ogievskiy
2023-09-25 19:40 ` [PATCH 02/12] hw/i386/intel_iommu: vtd_slpte_nonzero_rsvd(): reduce magic numbers Vladimir Sementsov-Ogievskiy
2023-09-26 10:37   ` Peter Maydell
2023-09-26 14:12     ` Vladimir Sementsov-Ogievskiy
2023-09-26 14:16       ` Peter Maydell
2023-09-26 18:36     ` Vladimir Sementsov-Ogievskiy
2023-09-26 18:46       ` Vladimir Sementsov-Ogievskiy
2023-09-26 18:59       ` Peter Maydell
2023-09-26 19:16         ` Vladimir Sementsov-Ogievskiy
2023-09-25 19:40 ` [PATCH 03/12] util/filemonitor-inotify: qemu_file_monitor_watch(): avoid overflow Vladimir Sementsov-Ogievskiy
2023-09-26 10:44   ` Peter Maydell
2023-09-25 19:40 ` [PATCH 04/12] libvhost-user.c: add assertion to vu_message_read_default Vladimir Sementsov-Ogievskiy
2023-09-25 19:40 ` [PATCH 05/12] device_tree: qmp_dumpdtb(): stronger assertion Vladimir Sementsov-Ogievskiy
2023-09-26  1:26   ` Alistair Francis
2023-09-26 10:08     ` Vladimir Sementsov-Ogievskiy
2023-09-26 10:51   ` Peter Maydell
2023-09-26 14:20     ` Vladimir Sementsov-Ogievskiy
2023-09-26 14:33       ` Peter Maydell
2023-09-25 19:40 ` [PATCH 06/12] mc146818rtc: rtc_set_time(): initialize tm to zeroes Vladimir Sementsov-Ogievskiy
2023-09-26 10:56   ` Peter Maydell
2023-09-25 19:40 ` [PATCH 07/12] pcie_sriov: unregister_vfs(): fix error path Vladimir Sementsov-Ogievskiy
2023-09-25 19:40 ` [PATCH 08/12] block/nvme: nvme_process_completion() fix bound for cid Vladimir Sementsov-Ogievskiy
2023-09-25 20:04   ` Michael Tokarev
2023-09-26 11:00   ` Peter Maydell
2023-09-25 19:40 ` [PATCH 09/12] kvm-all: introduce limits for name_size and num_desc Vladimir Sementsov-Ogievskiy
2023-09-26 11:05   ` Peter Maydell
2023-09-26 14:49     ` Vladimir Sementsov-Ogievskiy
2023-09-25 19:40 ` [PATCH 10/12] hw/core/loader: gunzip(): initialize z_stream Vladimir Sementsov-Ogievskiy
2023-09-26 11:06   ` Peter Maydell
2023-09-25 19:40 ` [PATCH 11/12] hw/core/loader: read_targphys(): add upper bound Vladimir Sementsov-Ogievskiy
2023-09-25 20:12   ` Michael Tokarev
2023-09-26 10:14     ` Vladimir Sementsov-Ogievskiy
2023-09-26 11:11   ` Peter Maydell
2023-09-25 19:40 ` [PATCH 12/12] io/channel-socket: qio_channel_socket_flush(): improve msg validation Vladimir Sementsov-Ogievskiy
2023-09-26  9:04   ` Maksim Davydov
2023-09-26 10:19     ` Vladimir Sementsov-Ogievskiy

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