ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=06778385f1cae0239e863e168deb10a09e85b35f
commit 06778385f1cae0239e863e168deb10a09e85b35f Author: Andy Williams <a...@andywilliams.me> Date: Wed Nov 22 19:31:19 2017 +0000 elm_code: don't crash on NULL scope This could be triggerd with the cursor was not in the file --- src/lib/elementary/elm_code_widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c index 8fa06023de..54e354368d 100644 --- a/src/lib/elementary/elm_code_widget.c +++ b/src/lib/elementary/elm_code_widget.c @@ -196,7 +196,7 @@ _elm_code_widget_line_in_scope(Elm_Code_Line *line, Elm_Code_Line *fromline) Elm_Code_Line *midline; unsigned int number; - if (line->scope == 0 || fromline->scope == 0) + if (!line || !fromline || line->scope == 0 || fromline->scope == 0) return EINA_FALSE; if (line->number == fromline->number) --