[libvirt] [PATCH] Fix multiple potential NULL pointer references in monitor usage (v2)
Eric Blake
eblake at redhat.com
Mon May 17 20:42:38 UTC 2010
On 05/17/2010 11:41 AM, Daniel P. Berrange wrote:
> Any method which intends to invoke a monitor command must have
> a check for virDomainObjIsActive() before using the monitor to
> ensure that priv->mon != NULL.
>
> In v2:
>
> - Revert the qemudDomainHotplugVcpus change and add IsActive
> checks there instead to protect vm->def->vcpus update
Yes, that looks better.
ACK.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100517/68db7413/attachment-0001.sig>
More information about the libvir-list
mailing list