diff options
author | Oliver Stöneberg <oliverst@online.de> | 2014-11-26 09:02:27 +0100 |
---|---|---|
committer | Oliver Stöneberg <oliverst@online.de> | 2014-11-26 09:02:27 +0100 |
commit | 98aedadd72a866078ad3f0cee7b5cabbc1f2858a (patch) | |
tree | 6cb3fe0c265146ef4b940a7a1473b495e86f1a35 | |
parent | cd0c9e1f28141331f69ee0b1801e57ee76ae1944 (diff) |
fixed poteotential -validate crash with invalid softwarelist XML (nw)
-rw-r--r-- | src/emu/softlist.c | 5 |
1 files changed, 4 insertions, 1 deletions
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)); |