hermet pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=a512a80782a1f4aa0793d236bcfb33a0d7a4f888
commit a512a80782a1f4aa0793d236bcfb33a0d7a4f888 Author: taehyub <taehyub....@samsung.com> Date: Fri Mar 4 23:39:14 2016 +0900 edc_editor: add null checking in error_line_num_highlight function Summary: in error_line_num_highlight, utf8 can be null. so, I added null checking about it. @fix Reviewers: Jaehyun_Cho, NikaWhite, Hermet Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D3764 --- src/lib/edc_editor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/edc_editor.c b/src/lib/edc_editor.c index 65809aa..e08aa16 100644 --- a/src/lib/edc_editor.c +++ b/src/lib/edc_editor.c @@ -1696,6 +1696,9 @@ error_line_num_highlight(edit_data *ed) char *utf8 = (char *)color_cancel(syntax_color_data_get(ed->sh), text, strlen(text), from_line, to_line, &from, &to); + + if (!utf8) return; + if (ed->error_line == -1) { evas_object_textblock_text_markup_set(tb, utf8); --