[libvirt] [PATCH 1/3] libxl: dont dereference NULL libxlDomainObjPrivatePtr

John Ferlan jferlan at redhat.com
Wed Mar 21 13:54:52 UTC 2018



On 03/19/2018 07:28 PM, Jim Fehlig wrote:
> In libxlDomainMigrationPrepare it is possible to dereference a NULL
> libxlDomainObjPrivatePtr in early error paths. Check for a valid
> 'priv' before using it.
> 
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
>  src/libxl/libxl_migration.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list