[sr-dev] git:master:54a0aeee: core: fix a crash in cfg parser related to invalid syntax cases