Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : libs/epsilon

Dir     : e17/libs/epsilon/src/lib


Modified Files:
        epsilon_thumb.c 


Log Message:
Added IF in epsilon_thumb.c's epsilon_cb_server_data to avoid segfault.

Patch by: Leonardo Sobral Cunha <[EMAIL PROTECTED]>

===================================================================
RCS file: /cvs/e/e17/libs/epsilon/src/lib/epsilon_thumb.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- epsilon_thumb.c     28 Nov 2007 03:52:53 -0000      1.18
+++ epsilon_thumb.c     10 May 2008 04:56:12 -0000      1.19
@@ -218,6 +218,9 @@
        if (e->server != epsilon_server)
                return 1;
 
+       if (!(e && e->data))
+               return 1;
+
        msg = e->data;
        Epsilon_Request *thumb;
 



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to