Merge pull request #5449 from bkoropoff/serial-info-crash

menu_displaylist: don't crash on serial-only database entries
This commit is contained in:
Twinaphex 2017-09-18 10:29:45 +02:00 committed by GitHub
commit 5c6ad1645d

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;