mbox series

[RESEND,0/3] fix some warnings by static code scan tool

Message ID 20200224064219.1434-1-longpeng2@huawei.com (mailing list archive)
Headers show
Series fix some warnings by static code scan tool | expand

Message

Longpeng(Mike) Feb. 24, 2020, 6:42 a.m. UTC
From: Longpeng <longpeng2@huawei.com>

Hi guys,
Our tool find some potential issues in QEMU source code, maybe
they're misreported, hope you could have a look at them.

Longpeng (Mike) (3):
  vfio/pci: fix a null pointer reference in vfio_rom_read
  vhost: fix a null pointer reference of vhost_log
  util/pty: fix a null pointer reference in qemu_openpty_raw

 hw/vfio/pci.c       | 13 ++++++++-----
 hw/virtio/vhost.c   | 19 +++++++++++++++++--
 util/qemu-openpty.c | 10 ++--------
 3 files changed, 27 insertions(+), 15 deletions(-)