[libvirt] [PATCH 1/3] virDomainDeviceValidateAliasForHotplug: Use correct domain defintion

Peter Krempa pkrempa at redhat.com
Mon Mar 12 08:46:19 UTC 2018


On Fri, Mar 09, 2018 at 12:56:11 +0100, Michal Privoznik wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1553075
> 
> For some weird reason this function is getting live and
> persistent def for domain but then accesses vm->def and
> vm->newDef directly. This is rather unsafe as we can be
> accessing NULL pointer.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/conf/domain_conf.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180312/93dcc96e/attachment-0001.sig>


More information about the libvir-list mailing list