[libvirt] [PATCH 0/3] virStr*cpy*() related fixes and cleanups

Andrea Bolognani abologna at redhat.com
Tue Jul 17 11:09:54 UTC 2018


1/3 contains bug fixes, 2/3 a bunch of cleanups and 3/3 makes
libvirt build again on MinGW.

Andrea Bolognani (3):
  src: Use virStrcpyStatic() to avoid truncation
  src: Use virStrcpyStatic() wherever possible
  m4: Work around MinGW detection of strncpy() usage

 cfg.mk                      |  2 +-
 m4/virt-compile-warnings.m4 |  5 +++++
 src/conf/nwfilter_conf.c    |  3 +--
 src/esx/esx_driver.c        |  4 +---
 src/hyperv/hyperv_driver.c  |  3 +--
 src/util/virfdstream.c      |  2 +-
 src/util/virlog.c           |  5 ++---
 src/util/virnetdev.c        |  3 +--
 src/xenconfig/xen_xl.c      | 17 ++++-------------
 9 files changed, 17 insertions(+), 27 deletions(-)

-- 
2.17.1




More information about the libvir-list mailing list