forked from enlightenment/efl
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:
parent
56881a8df4
commit
4fc69f0f44
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue