[sr-dev] git:5.3:15ff3bbb: core: fix a crash in cfg parser related to invalid syntax cases