From 98aedadd72a866078ad3f0cee7b5cabbc1f2858a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 26 Nov 2014 09:02:27 +0100 Subject: fixed poteotential -validate crash with invalid softwarelist XML (nw) --- src/emu/softlist.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/emu/softlist.c b/src/emu/softlist.c index 761a1ef1dfb..eece387a42c 100644 --- a/src/emu/softlist.c +++ b/src/emu/softlist.c @@ -196,7 +196,10 @@ software_info::software_info(software_list_device &list, const char *name, const m_list(list), m_supported(SOFTWARE_SUPPORTED_YES), m_shortname(name), - m_parentname(parent) + m_longname(NULL), + m_parentname(parent), + m_year(NULL), + m_publisher(NULL) { // ensure strings we are passed are in the string pool assert(list.string_pool_contains(name)); -- cgit v1.2.3