herdsman pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=cbd906fc1194839cee70b87f29aca30056f1ae1c
commit cbd906fc1194839cee70b87f29aca30056f1ae1c Author: Daniel Hirt <[email protected]> Date: Thu Aug 6 09:12:24 2015 +0300 entry: Add null safety check in _elm_entry_entry_paste function. Summary: Add null safety check for the given text. Reviewers: tasn, woohyun, thiepha, herdsman Reviewed By: herdsman Subscribers: thiepha, JackDanielZ Differential Revision: https://phab.enlightenment.org/D2868 --- src/lib/elm_entry.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index f6e185a..c9e36d4 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -1376,6 +1376,8 @@ _elm_entry_entry_paste(Evas_Object *obj, { char *str = NULL; + if (!entry) return; + ELM_ENTRY_CHECK(obj); ELM_ENTRY_DATA_GET(obj, sd); --
