diff options
author | Thomas Huth | 2018-02-27 07:44:44 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2018-03-05 10:03:17 +0100 |
commit | bb37a2c0b51f74e7bd9a1f87ca4ec1648e1f9398 (patch) | |
tree | e7751bf43dbb80d080b8dd8a8af2905e8319f005 /.gitpublish | |
parent | util/uri.c: wrap single statement blocks with braces {} (diff) | |
download | qemu-bb37a2c0b51f74e7bd9a1f87ca4ec1648e1f9398.tar.gz qemu-bb37a2c0b51f74e7bd9a1f87ca4ec1648e1f9398.tar.xz qemu-bb37a2c0b51f74e7bd9a1f87ca4ec1648e1f9398.zip |
tests/libqos: Check for valid dev pointer when looking for PCI devices
dev could be NULL if the PCI device can not be found due to some
reasons, so we must not dereference the pointer in this case.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1519713884-2346-1-git-send-email-thuth@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to '.gitpublish')
0 files changed, 0 insertions, 0 deletions