[v2,0/5] misc set of fixes for warnings under GCC 9
mbox series

Message ID 20190412121626.19829-1-berrange@redhat.com
Headers show
Series
  • misc set of fixes for warnings under GCC 9
Related show

Message

Daniel P. Berrangé April 12, 2019, 12:16 p.m. UTC
This series addresses all the warnings I see when building on Fedora 30
x86_64 with GCC 9 (gcc-9.0.1-0.10.fc30.x86_64).

Changed in v2:

 - Dropped patches mistakenly included due to not correctly rebasing
 - Dropped s390x patches already merged
 - Dropped usb-mtp patches which need much more work to be correctly
   handling untrustworthy guest data.

Daniel P. Berrangé (5):
  linux-user: avoid string truncation warnings in uname field copying
  linux-user: avoid string truncation warnings in elf field copying
  sockets: avoid string truncation warnings when copying UNIX path
  hw/usb: avoid format truncation warning when formatting port name
  qxl: avoid unaligned pointer reads/writes

 hw/display/qxl.c     | 55 +++++++++++++++++++-------------------------
 hw/usb/hcd-xhci.c    |  2 ++
 linux-user/elfload.c | 10 ++++----
 linux-user/uname.c   |  2 +-
 util/qemu-sockets.c  | 12 ++++++----
 5 files changed, 39 insertions(+), 42 deletions(-)