[PATCH FOR 6.8.0] libxl: Don't free def member of virDomainObj

Jiri Denemark jdenemar at redhat.com
Thu Sep 24 19:09:48 UTC 2020

On Thu, Sep 24, 2020 at 10:57:59 -0600, Jim Fehlig wrote:
> The refactoring in commit de49d5bad3 accidentally dropped the statement
> setting def to NULL after successfully adding it to the virDomainObjList,
> causing it to be freed while still in use. The resulting memory
> corruption caused unpredictable behavior, often resulting in a libvirtd
> crash.
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>

For 6.8.0:
Reviewed-by: Jiri Denemark <jdenemar at redhat.com>

More information about the libvir-list mailing list