All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] More virtio-snd fortifications/coverity fixes
@ 2026-04-20  5:07 Manos Pitsidianakis
  2026-04-20  5:07 ` [PATCH v3 1/2] virtio-snd: check rx buffer descriptor size Manos Pitsidianakis
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Manos Pitsidianakis @ 2026-04-20  5:07 UTC (permalink / raw)
  To: qemu-devel
  Cc: Gerd Hoffmann, Michael S. Tsirkin, Philippe Mathieu-Daudé,
	Alex Bennée, Richard Henderson, qemu-stable,
	Manos Pitsidianakis

Added checks for stuff coverity pointed out (CID 1547527).

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
---
Changes in v3:
- Added Coverity CID in patch message (thanks Alex)
- Link to v2: https://lore.kernel.org/qemu-devel/20260417-virtio-fixups-v2-0-4a0d8636a628@linaro.org

Changes in v2:
- Use g_size_checked_add (thanks rth)
- Link to v1: https://lore.kernel.org/qemu-devel/20260416-virtio-fixups-v1-0-ec14e2de0852@linaro.org

---
Manos Pitsidianakis (2):
      virtio-snd: check rx buffer descriptor size
      virtio-snd: check for overflow before g_malloc0

 hw/audio/virtio-snd.c | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)
---
base-commit: da6c4fe60fee30dd77267764d55b38af9cb89d4b
change-id: 20260415-virtio-fixups-3bc3a1a1cd27

--
γαῖα πυρί μιχθήτω



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

end of thread, other threads:[~2026-07-25 11:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-20  5:07 [PATCH v3 0/2] More virtio-snd fortifications/coverity fixes Manos Pitsidianakis
2026-04-20  5:07 ` [PATCH v3 1/2] virtio-snd: check rx buffer descriptor size Manos Pitsidianakis
2026-04-20  5:07 ` [PATCH v3 2/2] virtio-snd: check for overflow before g_malloc0 Manos Pitsidianakis
2026-07-08  9:09 ` [PATCH v3 0/2] More virtio-snd fortifications/coverity fixes Michael Tokarev
2026-07-08 12:01   ` Manos Pitsidianakis
2026-07-25  9:50     ` Michael S. Tsirkin
2026-07-25 11:52     ` Michael S. Tsirkin

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.