[PATCH] libxl: Fix libvirtd crash on domain restore

Ján Tomko jtomko at redhat.com
Fri Feb 18 08:00:34 UTC 2022


On a Thursday in 2022, Jim Fehlig wrote:
>Commit cc2a3c2a94 missed one case in the libxl driver where virDomainDef
>is returned from libxlDomainSaveImageOpen and a g_steal_pointer is needed.
>Without it, the virDomainDef object is freed and the driver crashes later
>in the restore process when accessing the object.
>
>Signed-off-by: Jim Fehlig <jfehlig at suse.com>
>---
> src/libxl/libxl_domain.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220218/3422c200/attachment-0001.sig>


More information about the libvir-list mailing list