[Qemu-devel] [PATCH v2 0/5] misc set of fixes for warnings under GCC 9

Daniel P. Berrangé posted 5 patches 5 years ago
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test checkpatch passed
Test asan passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190412121626.19829-1-berrange@redhat.com
Maintainers: Riku Voipio <riku.voipio@iki.fi>, "Daniel P. Berrangé" <berrange@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Laurent Vivier <laurent@vivier.eu>
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(-)
[Qemu-devel] [PATCH v2 0/5] misc set of fixes for warnings under GCC 9
Posted by Daniel P. Berrangé 5 years ago
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(-)

-- 
2.20.1