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
This commit is contained in:
Daniel Hirt 2015-08-06 09:12:24 +03:00
parent 56881a8df4
commit 4fc69f0f44
1 changed files with 2 additions and 0 deletions

View File

@ -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);