meta-virtualization/recipes-extended
Jason Wessel 646259f4d5 hyperstart: Fix compiler errors from gcc 8.1.0 uprev
The patch to hypterstart was also submitted to the upstream project.
It fixes these errors/warnings:

container.c: In function 'hyper_setup_container_rootfs':
container.c:630:24: error: '/' directive writing 1 byte into a region of size between 0 and 511 [-Werror=format-overflow=]
  sprintf(rootfs, "%s/%s/", root, container->rootfs);
                        ^
container.c:630:2: note: 'sprintf' output 3 or more bytes (assuming 514) into a destination of size 512
  sprintf(rootfs, "%s/%s/", root, container->rootfs);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
container.c:262:18: error: '%s' directive writing up to 511 bytes into a region of size 510 [-Werror=format-overflow=]
  sprintf(dst, "./%s", src);
                  ^~   ~~~
container.c:262:2: note: 'sprintf' output between 3 and 514 bytes into a destination of size 512
  sprintf(dst, "./%s", src);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
container.c:218:24: error: '/_data' directive writing 6 bytes into a region of size between 1 and 512 [-Werror=format-overflow=]
     sprintf(volume, "%s/_data", path);
                        ^~~~~~
container.c:218:5: note: 'sprintf' output between 7 and 518 bytes into a destination of size 512
     sprintf(volume, "%s/_data", path);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
container.c:149:24: error: '/_data' directive writing 6 bytes into a region of size between 0 and 511 [-Werror=format-overflow=]
    sprintf(volume, "/%s/_data", path);
                        ^~~~~~
container.c:149:4: note: 'sprintf' output between 8 and 519 bytes into a destination of size 512
    sprintf(volume, "/%s/_data", path);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
container.c:131:24: error: '/' directive writing 1 byte into a region of size between 0 and 511 [-Werror=format-overflow=]
    sprintf(volume, "/%s/", path);
                        ^
container.c:131:4: note: 'sprintf' output between 3 and 514 bytes into a destination of size 512
    sprintf(volume, "/%s/", path);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
container.c:176:24: error: '/_data/' directive writing 7 bytes into a region of size between 0 and 511 [-Werror=format-overflow=]
    sprintf(volume, "/%s/_data/%s", path, filevolume);
                        ^~~~~~~
container.c:176:4: note: 'sprintf' output 9 or more bytes (assuming 520) into a destination of size 512
    sprintf(volume, "/%s/_data/%s", path, filevolume);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-06-19 12:29:33 -04:00
..
dev86 dev86: update to version 0.16.20 2016-04-18 14:16:52 -04:00
diod diod: add new recipe 2017-06-27 13:24:12 -04:00
hyperstart hyperstart: Fix compiler errors from gcc 8.1.0 uprev 2018-06-19 12:29:33 -04:00
iasl iasl: Upgrade to 20160527 from 20120215 2016-07-15 11:02:53 -04:00
images kvm-image-minimal: drop remaining ROOTFS_PKGMANAGE_BOOTSTRAP 2017-12-28 11:12:04 -05:00
iptables Refactor to conform to YP Compat requirements 2018-04-23 12:38:50 -04:00
ipxe ipxe: fetch using https rather than git protocol 2017-08-24 09:55:40 -04:00
irqbalance irqbalance: uprev to v1.4.0 2018-05-29 10:29:24 -04:00
kvmtool kvmtool: uprev to latest version 2018-05-29 10:27:55 -04:00
libvirt libvirt: Check for qemu.conf before modifying 2018-06-14 04:32:53 -04:00
seabios seabios: uri corrected to https 2017-10-05 10:44:00 -04:00
vgabios vgabios: replace PN with BPN, to solve fetch failure while building for multilib 2018-03-08 16:20:01 -05:00
xen xen: add xendriverdomain systemd unit to devd 2018-05-21 22:08:54 -04:00