fixed potential crash bug when reading from artwork info cache
authorHolger Schemel <info@artsoft.org>
Sat, 29 Aug 2020 09:57:51 +0000 (11:57 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 29 Aug 2020 09:57:51 +0000 (11:57 +0200)
commit7ef23a490275f99c802131d747e07f2feb67f43c
tree4032c1f419c0f8bdd3973eb89bae88fa0b24a900
parent2174ec0a6b545b47aaea3153ef9a67993fc59a93
fixed potential crash bug when reading from artwork info cache

This fixes a regression bug from commit 79425634, which allowed for
empty cache entries (as tokens "program_title", "program_copyright"
and "program_company" may be undefined), which may result in crashes
when reading inconsistent or incomplete cache files.
src/libgame/setup.c