Prevent reference XML reader segfault on nullptr error strings
commit85e7dd1899c9e299041df8234495d4e356ca52ac
authorAleksei Iupinov <a.yupinov@gmail.com>
Wed, 6 Sep 2017 15:18:44 +0000 (6 17:18 +0200)
committerAleksei Iupinov <a.yupinov@gmail.com>
Tue, 12 Sep 2017 10:00:28 +0000 (12 12:00 +0200)
tree6795f0ec462dcb2b873a979da73ad3ac6448d498
parent985d05186ce109ff8b70b27b1f8ca8f43a69fde8
Prevent reference XML reader segfault on nullptr error strings

It is possible for TinyXML2 to return null pointers to the error strings.
This could cause XML reference data reader to segfault.

Refs #2241

Change-Id: I8b72917785080023f75388281dd2cbb4f30da925
src/testutils/refdata-xml.cpp