Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_txt


Modified Files:
        ecore_txt.c 


Log Message:
fix segv, the new adress is not necessary the same as the old one

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_txt/ecore_txt.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ecore_txt.c 6 Jan 2006 18:26:37 -0000       1.9
+++ ecore_txt.c 28 Sep 2006 20:44:33 -0000      1.10
@@ -44,6 +44,7 @@
             if (errno == E2BIG)
               {
                  new_txt = realloc(new_txt, outalloc + 64);
+                 outp = new_txt + outlen;
                  outalloc += 64;
                  outb += 64;
               }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to