qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] tests/libqos: Check for valid dev pointer when


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] tests/libqos: Check for valid dev pointer when looking for PCI devices
Date: Tue, 27 Feb 2018 16:27:06 +0000
User-agent: Mutt/1.9.2 (2017-12-15)

On Tue, Feb 27, 2018 at 07:44:44AM +0100, Thomas Huth wrote:
> dev could be NULL if the PCI device can not be found due to some
> reasons, so we must not dereference the pointer in this case.
> 
> Signed-off-by: Thomas Huth <address@hidden>
> ---
>  tests/libqos/virtio-pci.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

There is no maintainer for tests/libqos/virtio-pci.c in MAINTAINERS so
I'll take this patch.

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]