From f3be0fb17b4bc846ed317c118a4e43859f3c2ad8 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 a31b9b2fbc2..18d0a7e814b 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)