q66 pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=2c76889347cc46be2d0e84c40ff3ef4a71d8defd
commit 2c76889347cc46be2d0e84c40ff3ef4a71d8defd Author: Daniel Kolesa <[email protected]> Date: Mon Mar 26 11:57:53 2018 +0200 eolian: fix segfault on error when input file fails to open --- src/lib/eolian/eo_lexer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eolian/eo_lexer.c b/src/lib/eolian/eo_lexer.c index 687459893a..539a0e2c59 100644 --- a/src/lib/eolian/eo_lexer.c +++ b/src/lib/eolian/eo_lexer.c @@ -1065,7 +1065,7 @@ eo_lexer_set_input(Eo_Lexer *ls, Eolian_State *state, const char *source) Eina_File *f = eina_file_open(source, EINA_FALSE); if (!f) { - eolian_state_log(ls->state, "%s", strerror(errno)); + eolian_state_log(state, "%s", strerror(errno)); longjmp(ls->err_jmp, EO_LEXER_ERROR_NORMAL); } ls->lookahead.token = -1; --
