From 577c6cb37414b4edf6c93d9ffb212b2d96205fd4 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 11 Jul 2021 10:16:26 +0300 Subject: [PATCH] - fixed crash when parsing malformed .def file This fixes #439 --- source/core/defparser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/core/defparser.cpp b/source/core/defparser.cpp index da520226a..b08bcfa16 100644 --- a/source/core/defparser.cpp +++ b/source/core/defparser.cpp @@ -2094,6 +2094,7 @@ static const dispatch basetokens[] = { "shadefactor", parseSkip<1> }, { "newgamechoices", parseEmptyBlock }, { "rffdefineid", parseRffDefineId }, + { nullptr, nullptr }, }; static void defsparser(FScanner& sc)