[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1441775] Re: possible null pointer dereference in qemu
From: |
Eric Blake |
Subject: |
[Qemu-devel] [Bug 1441775] Re: possible null pointer dereference in qemuDomainPinEmulator() |
Date: |
Wed, 08 Apr 2015 23:38:37 -0000 |
** Project changed: qemu => libvirt
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1441775
Title:
possible null pointer dereference in qemuDomainPinEmulator()
Status in libvirt virtualization API:
New
Bug description:
In src/qemu/qemu_driver.c the qemuDomainPinEmulator() routine
basically does this
virDomainObjPtr vm;
if (!(vm = qemuDomObjFromDomain(dom)))
goto cleanup;
cleanup:
qemuDomObjEndAPI(&vm);
If "vm" is null, then this will crash.
The bug seems to have been added in commit 540c339a, which removed a null
pointer check:
- if (vm)
- virObjectUnlock(vm);
+ qemuDomObjEndAPI(&vm);
To manage notifications about this bug go to:
https://bugs.launchpad.net/libvirt/+bug/1441775/+subscriptions
- [Qemu-devel] [PULL 00/17] target-arm queue, Peter Maydell, 2015/04/27
- [Qemu-devel] [PULL 17/17] Allow ARMv8 SCR.SMD updates, Peter Maydell, 2015/04/27
- [Qemu-devel] [PULL 14/17] target-arm: Check watchpoints against CPU security state, Peter Maydell, 2015/04/27
- [Qemu-devel] [PULL 16/17] target-arm: Adjust id_aa64pfr0 when has_el3 CPU property disabled, Peter Maydell, 2015/04/27
- [Qemu-devel] [PULL 01/17] memory: Define API for MemoryRegionOps to take attrs and return status, Peter Maydell, 2015/04/27
- [Qemu-devel] [PULL 15/17] target-arm: rename c1_coproc to cpacr_el1, Peter Maydell, 2015/04/27
- [Qemu-devel] [PULL 12/17] target-arm: Add user-mode transaction attribute, Peter Maydell, 2015/04/27
- [Qemu-devel] [PULL 13/17] target-arm: Use attribute info to handle user-only watchpoints, Peter Maydell, 2015/04/27
- [Qemu-devel] [PULL 11/17] target-arm: Use correct memory attributes for page table walks, Peter Maydell, 2015/04/27
- [Qemu-devel] [PULL 10/17] target-arm: Honour NS bits in page tables, Peter Maydell, 2015/04/27
- [Qemu-devel] [PULL 05/17] exec.c: Convert subpage memory ops to _with_attrs, Peter Maydell, 2015/04/27