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

Re: [libvirt] [PATCH] qemu: avoid dereferencing a NULL pointer



On 09/21/2011 01:02 PM, ajia redhat com wrote:
From: Alex Jia<ajia redhat com>

* src/qemu/qemu_process.c: Taking if (qemuDomainObjEndJob(driver, obj) == 0)
   true branch then 'obj' is NULL, virDomainObjIsActive(obj) and
   virDomainObjUnref(obj) will dereference NULL pointer.

Signed-off-by: Alex Jia<ajia redhat com>
---
  src/qemu/qemu_process.c |   32 +++++++++++++++++---------------
  1 files changed, 17 insertions(+), 15 deletions(-)

Looks like this got sent twice.  At any rate,

ACK and pushed.

--
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


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