possible null pointer dereference in qemuDomainPinEmulator()
Bug #1441775 reported by
Chris Friesen
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| libvirt |
Invalid
|
Undecided
|
Unassigned | ||
| libvirt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
In src/qemu/
virDomainO
if (!(vm = qemuDomObjFromD
goto cleanup;
cleanup:
qemuDomObj
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
+ qemuDomObjEndAP
| affects: | qemu → libvirt |
To post a comment you must log in.
Thanks Eric...must have been a brain fart. :)