Accepting request 888065 from home:vulyanov:branches:Virtualization
- Fix virt-launcher crash fix-double-free-of-VirDomain.patch OBS-URL: https://build.opensuse.org/request/show/888065 OBS-URL: https://build.opensuse.org/package/show/Virtualization/kubevirt?expand=0&rev=43
This commit is contained in:
parent
e72904e345
commit
053d2cc39d
14
fix-double-free-of-VirDomain.patch
Normal file
14
fix-double-free-of-VirDomain.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Fix double free of VirDomain
|
||||||
|
|
||||||
|
diff --git a/pkg/virt-launcher/virtwrap/manager.go b/pkg/virt-launcher/virtwrap/manager.go
|
||||||
|
index a3fe15e39..660423269 100644
|
||||||
|
--- a/pkg/virt-launcher/virtwrap/manager.go
|
||||||
|
+++ b/pkg/virt-launcher/virtwrap/manager.go
|
||||||
|
@@ -1494,7 +1494,6 @@ func (l *LibvirtDomainManager) SyncVMI(vmi *v1.VirtualMachineInstance, useEmulat
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
- defer dom.Free()
|
||||||
|
logger.Info("Domain defined.")
|
||||||
|
} else {
|
||||||
|
logger.Reason(err).Error("Getting the domain failed.")
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 23 09:50:20 UTC 2021 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||||
|
|
||||||
|
- Fix virt-launcher crash
|
||||||
|
fix-double-free-of-VirDomain.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 20 13:12:00 UTC 2021 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
Tue Apr 20 13:12:00 UTC 2021 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ Source100: %{name}-rpmlintrc
|
|||||||
Patch0: dont-build-virtctl-darwin.patch
|
Patch0: dont-build-virtctl-darwin.patch
|
||||||
Patch1: dont-use-bazel-in-build-manifests.patch
|
Patch1: dont-use-bazel-in-build-manifests.patch
|
||||||
Patch2: fix-virsh-domcapabilities-error.patch
|
Patch2: fix-virsh-domcapabilities-error.patch
|
||||||
|
Patch3: fix-double-free-of-VirDomain.patch
|
||||||
BuildRequires: glibc-devel-static
|
BuildRequires: glibc-devel-static
|
||||||
BuildRequires: golang-packaging
|
BuildRequires: golang-packaging
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user