Dear Elementary developers.

 

I've made a patch about elm_cnp_helper.

Sometimes processing markup text, it exceeds text length.

 

Thank you.

 

 

Index: elementary/src/lib/elm_cnp_helper.c

===================================================================

--- elm_cnp_helper.c       (Revision 60268)

+++ elm_cnp_helper.c       (Working clone)

@@ -1198,7 +1198,7 @@

    q = ret = malloc(l + 1);

    /* Second pass: Change characters */

-   for (p = start; *p; )

+   for (p = start; ((!endp) || (p < endp)) && (*p); )

      {

         for (i = 0; i < N_ESCAPES; i++)

           {

 

----------------------------------

Hyoyoung CHANG

Engineer

 

SAMSUNG ELECTRONICS, Co., Ltd.

E-mail: hyoyoung.ch...@samsung.com

----------------------------------

 

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to