menu_displaylist: don't crash on serial-only database entries

This commit is contained in:
Brian Koropoff 2017-09-17 21:31:42 -07:00
parent 23fe08cb4b
commit 1bbb7aff08

View File

@ -1912,7 +1912,10 @@ static int menu_displaylist_parse_database_entry(menu_displaylist_info_t *info)
NULL, NULL, NULL, NULL,
NULL, &crc32);
tmp_str_list = string_split(crc32, "|");
if (crc32)
{
tmp_str_list = string_split(crc32, "|");
}
if (!tmp_str_list)
continue;