Accepting request 697979 from home:jfehlig:branches:Virtualization
- Fix build with LTO enabled Adjusted support-managed-pci-xen-driver.patch boo#1133253 OBS-URL: https://build.opensuse.org/request/show/697979 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=750
This commit is contained in:
parent
25a1844db7
commit
7cc886a733
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 20:42:03 UTC 2019 - Jim Fehlig <jfehlig@suse.com>
|
||||
|
||||
- Fix build with LTO enabled
|
||||
Adjusted support-managed-pci-xen-driver.patch
|
||||
boo#1133253
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 19 17:06:42 UTC 2019 - James Fehlig <jfehlig@suse.com>
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
@ -45,7 +45,7 @@ Index: libvirt-5.2.0/src/xenconfig/xen_common.c
|
||||
+ data++;
|
||||
+
|
||||
+ if (STRPREFIX(opt, "managed=")) {
|
||||
+ if (virStrncpy(opt_managed, data, 1, sizeof(opt_managed)) == NULL) {
|
||||
+ if (virStrncpy(opt_managed, data, 1, sizeof(opt_managed)) < 0) {
|
||||
+ virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
+ _("managed option %s too big for destination"),
|
||||
+ data);
|
||||
|
Loading…
Reference in New Issue
Block a user