1
0
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
2017-04-11 13:23:01 +02:00
2018-12-17 17:52:46 +01:00
2018-12-17 17:52:46 +01:00
2017-07-26 15:33:45 +02:00
2017-04-27 14:13:19 +02:00
2016-09-14 13:18:07 +02:00