raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=b2809026bbafc228d437aa4654208f2399cbc4b7
commit b2809026bbafc228d437aa4654208f2399cbc4b7 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Sun Jul 23 18:56:43 2017 +0900 elm cnp - check if selbuf is null or not and skip copying if null this should fix CID 1377536 --- src/lib/elementary/elm_cnp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_cnp.c b/src/lib/elementary/elm_cnp.c index 80e95e9649..b600e90d0e 100644 --- a/src/lib/elementary/elm_cnp.c +++ b/src/lib/elementary/elm_cnp.c @@ -4431,7 +4431,7 @@ _local_elm_cnp_selection_set(Evas_Object *obj EINA_UNUSED, free(_local_selinfo[selection].sel.buf); _local_selinfo[selection].format = format; _local_selinfo[selection].sel.buf = malloc(buflen + 1); - if (_local_selinfo[selection].sel.buf) + if ((_local_selinfo[selection].sel.buf) && (selbuf)) { memcpy(_local_selinfo[selection].sel.buf, selbuf, buflen); _local_selinfo[selection].sel.buf[buflen] = 0; --