Thomas Huth bb37a2c0b5 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>
2018-03-05 09:03:17 +00:00
..
2018-02-13 18:25:48 +02:00
2018-02-22 15:44:07 -08:00
2017-09-22 10:46:25 +08:00
2018-02-08 09:23:07 +08:00
2017-11-17 18:21:30 +01:00
2017-10-20 13:32:10 +02:00
2018-02-14 10:08:41 +01:00
2017-10-20 13:32:10 +02:00
2018-03-01 10:13:21 +00:00
2018-02-09 05:05:11 +01:00
2018-02-08 09:22:03 +08:00
2017-09-05 22:34:40 +02:00
2017-12-20 22:01:24 +08:00
2018-02-21 07:24:50 -05:00