[PATCH 0/2] More virtio-snd fortifications/coverity fixes

Manos Pitsidianakis posted 2 patches 1 month, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260416-virtio-fixups-v1-0-ec14e2de0852@linaro.org
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
There is a newer version of this series
hw/audio/virtio-snd.c | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)
[PATCH 0/2] More virtio-snd fortifications/coverity fixes
Posted by Manos Pitsidianakis 1 month, 2 weeks ago
Added checks for stuff coverity pointed out.

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@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

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


Re: [PATCH 0/2] More virtio-snd fortifications/coverity fixes
Posted by Alex Bennée 1 month, 1 week ago
Manos Pitsidianakis <manos.pitsidianakis@linaro.org> writes:

> Added checks for stuff coverity pointed out.

Could you add the CID ids for the issues please. Either inline (seems to
be the most common) or the:

  Resolves: Coverity CID xxx

form.

Thanks.

>
> Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@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

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro