qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/4] qga: win32: fix crashes when PCI info canno


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 3/4] qga: win32: fix crashes when PCI info cannot be retrived
Date: Tue, 7 Aug 2018 08:33:50 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 08/07/2018 05:49 AM, Tomáš Golembiovský wrote:
The guest-get-fsinfo command collects also information about PCI
controller where the disk is attached. When this fails for some reasons
it tries to return just the partial information. However in certain
cases the pointer to the structure was not initialized and was set to
NULL. This breaks the serializer and lead to crasehs of the guest agent.

s/lead to crasehs/leads to a crash/


Signed-off-by: Tomáš Golembiovský <address@hidden>
---
  qga/commands-win32.c | 27 ++++++++++++++++++++++-----
  1 file changed, 22 insertions(+), 5 deletions(-)


--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

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