fc108946cd
CVE-2015-5307 and CVE-2015-8104 aka XSA-156 CVE-2015-8339 and CVE-2015-8340 aka XSA-159 CVE-2015-8555 aka XSA-165 XSA-166 CVE-2015-8341 aka XSA-160 CVE-2015-8550 aka XSA-155 Bump pkgrevision
29 lines
1 KiB
Text
29 lines
1 KiB
Text
$NetBSD: patch-CVE-2015-8341,v 1.1 2016/01/07 17:48:34 bouyer Exp $
|
|
|
|
patch for CVE-2015-8341 aka XSA-160 from
|
|
http://xenbits.xenproject.org/xsa/xsa160-4.6.patch
|
|
|
|
--- libxl/libxl_create.c.orig
|
|
+++ libxl/libxl_create.c
|
|
@@ -1484,6 +1484,9 @@ static void domcreate_complete(libxl__egc *egc,
|
|
libxl_domain_config *const d_config = dcs->guest_config;
|
|
libxl_domain_config *d_config_saved = &dcs->guest_config_saved;
|
|
|
|
+ libxl__file_reference_unmap(&dcs->build_state.pv_kernel);
|
|
+ libxl__file_reference_unmap(&dcs->build_state.pv_ramdisk);
|
|
+
|
|
if (!rc && d_config->b_info.exec_ssidref)
|
|
rc = xc_flask_relabel_domain(CTX->xch, dcs->guest_domid, d_config->b_info.exec_ssidref);
|
|
|
|
--- libxl/libxl_dom.c.orig
|
|
+++ libxl/libxl_dom.c
|
|
@@ -750,9 +750,6 @@ int libxl__build_pv(libxl__gc *gc, uint32_t domid,
|
|
state->store_mfn = xc_dom_p2m_host(dom, dom->xenstore_pfn);
|
|
}
|
|
|
|
- libxl__file_reference_unmap(&state->pv_kernel);
|
|
- libxl__file_reference_unmap(&state->pv_ramdisk);
|
|
-
|
|
ret = 0;
|
|
out:
|
|
xc_dom_release(dom);
|