Re: [PATCH] deep copy dom structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The 'conn', 'dom' and 'net' fields in a virterror can't be accessed
> safely, particularly from a garbage-collected language.  The only safe
> thing one could do with them is a physical equality test on the
> pointer against an existing conn/dom/net pointer.

The problem is that we're freeing the dom/net objects before serializing
the result so we're accessing already freed memory (which only works by
accident at the momemt). I'll have a look at moving around virDomainFree()
and friends when back from vactions.
 -- Guido

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]