[PATCH] libxl: fix crash when initializing driver

Erik Skultety eskultet at redhat.com
Mon Apr 6 08:56:17 UTC 2020

On Fri, Apr 03, 2020 at 04:01:53PM -0600, Jim Fehlig wrote:
> Commit 54a401af478 split out DriverConfigInit from DriverConfigNew, but
> then called it a bit late from libxlStateInitialize. The cfg is used in
> libxlDriverConfigLoadFile and when uninitialized results in a crash.
> Calling DriverConfigInit immediately after DriverConfigNew fixes the
> crash.
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
Reviewed-by: Erik Skultety <eskultet at redhat.com>

More information about the libvir-list mailing list