On Mon, Jan 26, 2015 at 05:12:25PM +0100, Michal Privoznik wrote:
The function may return NULL if something went wrong. In some places
in the tests we are not checking the return value rather than
accessing the pointer directly resulting in SIGSEGV.

Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
---
tests/domaincapstest.c  | 3 +++
tests/qemuhotplugtest.c | 3 ++-
tests/qemuxmlnstest.c   | 3 ++-
3 files changed, 7 insertions(+), 2 deletions(-)


ACK

Attachment: pgpe59VmRJ5kt.pgp
Description: PGP signature

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to