[PATCH kvmtool v2 0/3] Fix GCC 8 warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This patch series fixes a few warnings when building kvmtool with GCC8.
I'm not sure it's the best solution for each case.

Note that kvmtool was removed from Debian testing following these
warnings (but it's using an old version):
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897777

I do not know why it wasn't built with WERROR=0 instead.

Changes since v1:
 - series rebased on master
 - patch 1: fixed snprintf size thanks to Will's review
 - patch 2: added another similar warning fix in the same file
 - patch 3: errno isn't touched anymore (thanks Will)

@Andre: I did not pick up your Reviewed-by for patch 2 since it was
modified afterwards.

Regards,

Anisse

--
Anisse Astier (3):
  builtin-run: Fix warning when resolving path
  virtio: fix warning on strncpy
  kvmtool: 9p: fix overapping snprintf

 builtin-run.c | 4 +++-
 virtio/9p.c   | 9 ++++++++-
 virtio/net.c  | 6 +++---
 3 files changed, 14 insertions(+), 5 deletions(-)

-- 
2.19.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux