John Ferlan 44d0db011d tests: Fix possible NULL derefs in virErrorTestMsgs
Add guards to avoid calling strchr when @err_noinfo == NULL or
calling virErrorTestMsgFormatInfoOne when @err_info == NULL as
both would fail with a NULL deref.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Peter Krempa <pkrempa@redhat.com>
2018-12-18 10:12:09 -05:00
..
2018-12-17 17:52:46 +01:00
2018-12-17 17:52:46 +01:00
2018-12-17 17:52:46 +01:00
2018-12-17 17:52:46 +01:00